Roadmap

35 modules in teaching order. Each one lists the modules worth finishing first. Lessons are published in reviewed batches:61 of 61 listed lessons are available now; everything marked planned is not written yet.

  1. M01

    Algorithmic Thinking

    Beginner2 lessons available

    Turn a vague task into precise inputs, outputs and constraints, then argue that a solution is correct.

  2. M02

    Memory Model

    Beginner5 lessons available

    What a variable, a reference and a buffer really are, and why contiguous memory is fast.

    After: M01 Algorithmic Thinking

  3. M03

    Big O

    Beginner3 lessons available

    Count operations, describe growth, and tell worst-case, average and amortized costs apart.

    After: M01 Algorithmic Thinking

  4. M04

    Built-in Collections

    Beginner3 lessons available

    The collections every language ships, what each operation costs, and how to choose one.

    After: M02 Memory Model, M03 Big O

  5. M05

    Arrays

    Beginner5 lessons available

    Contiguous storage, index arithmetic, and how a dynamic array grows while keeping append cheap.

    After: M04 Built-in Collections

  6. M06

    Strings

    Beginner3 lessons available

    Encodings, code units and code points, immutability, and building strings efficiently.

    After: M05 Arrays

  7. M07

    Linked Lists

    Beginner1 lesson available

    Nodes and pointers: what O(1) insertion really requires, and the classic pointer techniques.

    After: M02 Memory Model, M03 Big O

  8. M08

    Stacks

    Beginner1 lesson available

    Last in, first out: implementations, expression handling and the monotonic stack.

    After: M05 Arrays, M07 Linked Lists

  9. M09

    Queues and Deques

    Beginner1 lesson available

    First in, first out, ring buffers, double-ended queues and the monotonic deque.

    After: M08 Stacks

  10. M10

    Hash Tables and Sets

    Intermediate2 lessons available

    Hashing, collisions and load factor: why lookups are expected O(1) and when they are not.

    After: M05 Arrays, M06 Strings

  11. M11

    Recursion

    Intermediate1 lesson available

    Base cases, the call stack, recursion trees and the first look at memoization.

    After: M02 Memory Model, M03 Big O

  12. M12

    Searching

    Beginner3 lessons available

    Linear and binary search and their relatives, with the preconditions each one needs.

    After: M05 Arrays, M11 Recursion

  13. M13

    Sorting

    Intermediate5 lessons available

    Stability, in-place sorting, the classic algorithms and what built-in sorts actually do.

    After: M05 Arrays, M11 Recursion

  14. M14

    Two Pointers

    Intermediate1 lesson available

    Opposite and same-direction pointers, read/write compaction and partitioning.

    After: M05 Arrays

  15. M15

    Sliding Window

    Intermediate1 lesson available

    Fixed and variable windows with frequency tracking, and when the pattern does not apply.

    After: M14 Two Pointers, M10 Hash Tables and Sets

  16. M16

    Prefix Sum and Difference Array

    Intermediate1 lesson available

    Precompute once, answer range questions in O(1); apply range updates in O(1).

    After: M05 Arrays

  17. M17

    Binary Search Patterns

    Intermediate1 lesson available

    Boundaries, lower and upper bounds, and searching over a monotonic predicate.

    After: M12 Searching

  18. M18

    Trees

    Intermediate1 lesson available

    Tree vocabulary, representations and every traversal, recursive and iterative.

    After: M11 Recursion, M09 Queues and Deques

  19. M19

    Binary Search Trees

    Intermediate1 lesson available

    The BST invariant, its operations, and why balance decides their cost.

    After: M18 Trees, M12 Searching

  20. M20

    Balanced Trees

    Advanced1 lesson available

    Rotations, AVL and red-black trees, B-trees, and the ordered collections built on them.

    After: M19 Binary Search Trees

  21. M21

    Heaps and Priority Queues

    Intermediate2 lessons available

    The array-backed heap, sift operations, O(n) heapify and heap sort.

    After: M18 Trees, M13 Sorting

  22. M22

    Tries

    Intermediate1 lesson available

    Prefix trees for dictionaries and autocomplete, and their memory trade-offs.

    After: M18 Trees, M06 Strings

  23. M23

    Graph Fundamentals

    Intermediate1 lesson available

    Graph vocabulary and representations, and how density changes the right choice.

    After: M10 Hash Tables and Sets, M07 Linked Lists

  24. M24

    BFS and DFS

    Intermediate1 lesson available

    Breadth-first and depth-first search on graphs and grids, and what each one finds.

    After: M23 Graph Fundamentals, M09 Queues and Deques, M11 Recursion

  25. M25

    Topological Sort

    Intermediate1 lesson available

    Ordering dependencies with Kahn’s algorithm or DFS, and detecting cycles.

    After: M24 BFS and DFS

  26. M26

    Shortest Paths

    Advanced1 lesson available

    Relaxation and the algorithms built on it, with the graph conditions each one needs.

    After: M24 BFS and DFS, M21 Heaps and Priority Queues

  27. M28

    Union Find

    Intermediate1 lesson available

    Disjoint sets with union by rank and path compression, and their near-constant amortized cost.

    After: M23 Graph Fundamentals

  28. M27

    Minimum Spanning Trees

    Advanced1 lesson available

    Cut and cycle properties, Prim and Kruskal (after Union Find).

    After: M23 Graph Fundamentals, M21 Heaps and Priority Queues, M28 Union Find

  29. M29

    Divide and Conquer

    Intermediate1 lesson available

    Divide, solve, combine; recurrences, the Master theorem and where it applies.

    After: M11 Recursion, M13 Sorting

  30. M30

    Greedy

    Advanced1 lesson available

    When a locally best choice is globally best, how to prove it, and counterexamples when it is not.

    After: M13 Sorting, M21 Heaps and Priority Queues

  31. M31

    Backtracking

    Intermediate1 lesson available

    Choose, explore, undo: searching decision trees with pruning.

    After: M11 Recursion

  32. M32

    Dynamic Programming

    Advanced2 lessons available

    States, transitions and base cases; memoization and tabulation through the classic problems.

    After: M11 Recursion, M31 Backtracking

  33. M33

    Bit Manipulation

    Intermediate1 lesson available

    Binary representation, two’s complement, masks and the standard bit tricks.

    After: M03 Big O

  34. M34

    Math

    Intermediate2 lessons available

    Overflow, modular arithmetic, primes, fast exponentiation and counting.

    After: M03 Big O, M11 Recursion

  35. M35

    Advanced Problem Solving

    Advanced2 lessons available

    Recognize patterns from constraints, combine structures, and reason clearly in interviews.

    After: M32 Dynamic Programming, M26 Shortest Paths, M10 Hash Tables and Sets, M21 Heaps and Priority Queues