DSA Roadmap
Open Visualizer Back to intro

Algocraft / DSA Roadmap

Algocraft · DSA

The DSA Roadmap

45 hands-on topics plus a theory page per phase — in the order that actually builds on itself — sorting and searching first, then the patterns (stacks, sliding window), then data structures (linked lists, trees), then the harder stuff (backtracking, graphs, DP, greedy). Each phase leads with its theory page, checked off just like any other item — read first, then visualize. Progress is saved in this browser.

0 / 57 complete
Phase 1

Foundations — Sorting & Searching

0/11

Start here regardless of experience level — these build the array-manipulation muscle memory (pointers, swaps, partitions) that every later phase leans on.

Phase 2

Stacks, Strings & Sliding Window

0/9

The monotonic-stack and sliding-window patterns show up constantly in interviews — learn them once here, recognize them everywhere after.

Phase 3

Linked Lists

0/8

Pointer manipulation without an index to lean on — a different kind of careful than arrays. LRU Cache at the end combines it with a hashmap (its primary home is Linked Lists — see the combo tag for the full breakdown), a very common interview question.

Phase 4

Trees & Heaps

0/8

Recursion finally pays off visually — traversals first to build intuition, then BST and heap operations that depend on them.

Phase 5

Backtracking

0/3

Short phase, but an important shift in thinking: explore a choice, undo it if it fails, try the next one.

Phase 6

Graphs

0/6

BFS/DFS are the foundation nearly every graph algorithm builds on, including the shortest-path and spanning-tree algorithms that follow.

Phase 7

Dynamic Programming

0/9

The phase most people find hardest — start with Fibonacci and Coin Change to see the recurrence-to-table pattern before the 2D problems (LCS, Edit Distance, Unique Paths).

Phase 8

Greedy & Advanced

0/3

The finish line — proving a locally-best choice leads to a globally-best answer, without DP's exhaustive bookkeeping.