Core paths · 13 steps

Complete DSA

All 35 curriculum modules in teaching order, grouped into stages, with the patterns, problems and visualizers that go with each stage.

Who it is for
Anyone who wants the whole curriculum in a deliberate order, from algorithmic thinking to advanced problem solving.
By the end
You have met every structure and technique in the curriculum, practised the related patterns, and can combine them on unfamiliar problems.
  1. Step 3: Linked lists, stacks and queues

    Pointer-based nodes and the two access disciplines (LIFO, FIFO) appear in parsing, scheduling and graph search.

  2. Step 4: Hashing

    Hash maps and sets come before the patterns because so many patterns keep their state in one.

  3. Step 5: Recursion, searching and sorting

    Recursion is needed for merge sort and trees; searching and sorting are the first algorithms with non-trivial invariants.

  4. Step 6: Array patterns

    Two pointers, sliding windows, prefix sums and boundary binary search are the workhorse techniques for array and string questions.

  5. Step 7: Trees and search trees

    Hierarchical structures and balance explain ordered maps and database indexes.

  6. Step 8: Heaps and tries

    Two specialised trees: heaps for repeated minimum or maximum, tries for prefix queries.

  7. Step 9: Graphs

    Graphs generalise trees; traversal, ordering, connectivity and shortest paths are learned together because they share the same representation.

  8. Step 10: Divide and conquer, greedy, backtracking

    General strategies for designing algorithms, each with its own proof technique and failure modes.

  9. Step 11: Dynamic programming

    Builds on recursion and backtracking: the same search, but each state solved once.

  10. Step 12: Bits and math

    Number representation and arithmetic identities give O(1)-space answers and avoid overflow bugs.

  11. Step 13: Advanced problem solving

    The final module combines structures and patterns and practises recognising them from constraints alone.