The algorithms roadmap
13 stages in the order they should be learned. Every stage depends only on the ones before it. ★ marks topics built on Zaza Gamezardashvili's lectures.
Foundations
Measure an algorithm before you write one
Arrays & Hashing
The two structures behind most real code
Sorting & Searching
Order the data, then find anything in O(log n)
Linear Structures
Stacks, queues and lists: discipline about who goes next
Complete Search
Try everything, cleverly: recursion that explores
Trees
Hierarchies that make search logarithmic
Graphs I: Traversal
Explore any network level by level or deep first
Greedy
Take the best move now, and prove it is safe
Graphs II: Weighted
Shortest paths and cheapest networks
Math Toolkit
Bits, primes and fast powers you will keep reaching for
Dynamic Programming
Solve each subproblem once, reuse it forever
Strings
Find a pattern in a text without wasted comparisons
Capstone: Hard Problems
Know when no fast algorithm is likely to exist
Electives
Advanced tools for contests and specialised work