Array
Level 1
Coming soon
This lesson is being written. Explore the graph meanwhile.
Unlocks
- Big-O NotationBig-O notation describes how an algorithm's cost grows as its input grows, ignoring constant factors, so you can compare methods before you run them.
- Binary SearchComing soon
- Binary TreeA binary tree gives each node at most two children; a binary search tree orders them so a lookup walks one path down, costing about log n steps when the tree stays balanced.
- Hash FunctionA hash function turns any key into a number in a fixed range, so you can jump straight to a storage slot instead of searching for the key.
- Hash TableComing soon
- ImmutabilityAn immutable value never changes after it is created, so every change produces a new value and the old one stays intact.
- Memory HierarchyComputers keep data in several levels of storage, from tiny and fast registers to huge and slow disks, and programs run fast when they reuse data that sits near the top.
- Priority QueueComing soon
- RecursionRecursion solves a problem by having a function call itself on a smaller version of the problem, stopping at a base case that needs no further calls.