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.
Foundations — Sorting & Searching
0/11Start here regardless of experience level — these build the array-manipulation muscle memory (pointers, swaps, partitions) that every later phase leans on.
Stacks, Strings & Sliding Window
0/9The monotonic-stack and sliding-window patterns show up constantly in interviews — learn them once here, recognize them everywhere after.
Linked Lists
0/8Pointer 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.
Trees & Heaps
0/8Recursion finally pays off visually — traversals first to build intuition, then BST and heap operations that depend on them.
Backtracking
0/3Short phase, but an important shift in thinking: explore a choice, undo it if it fails, try the next one.
Graphs
0/6BFS/DFS are the foundation nearly every graph algorithm builds on, including the shortest-path and spanning-tree algorithms that follow.
Dynamic Programming
0/9The 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).
Greedy & Advanced
0/3The finish line — proving a locally-best choice leads to a globally-best answer, without DP's exhaustive bookkeeping.