Arrays promise direct indexing; maps promise lookup by key; trees promise hierarchy.
The Algorithmic Compass
6 chapters · 6 challenges · The Cartographer's Camp
Understand the idea, practise through play, then prove it in code. Choose your next quest below.
Visual introduction to this topic
What are data structures and algorithms?
A data structure is a way to organize information so particular operations become easy. An algorithm is the repeatable sequence of decisions that uses that structure to produce an answer.
Think of a game inventory. The same items could live in a quick-access belt, a sorted chest, or a map keyed by name. The best container depends on what the player needs to do next.
Choose the operations first; the right structure follows.
Count reads, writes, comparisons, and memory instead of trusting machine speed.
Input size and required operations rule out solutions before coding begins.
Start here · organize information with a purpose
Start Here
0/1 completeUnderstand what a data structure is before choosing algorithms.
Measuring Work
0/1 completeCount operations and connect them to input size.
Growth Rates
0/1 completeCompare constant, logarithmic, linear, and faster growth.
Nested Work
0/1 completeRecognize quadratic, cubic, and dominant terms.
Memory
0/1 completeMeasure extra space and understand in-place tradeoffs.
Constraints
0/1 completeChoose algorithms that survive real input limits.
Built from authoritative material
This track is checked against the sources below. Visual traces still carry their own complete or guided coverage label, so unfinished explanations are not presented as complete executions.