DSA Practice

DSA Roadmap Chart

Topics flow from foundations at the top to advanced at the bottom. An arrow points from a topic you should know first to the topic that builds on it. Click any topic to see what to learn before it and to practise its problems.

FoundationsCore structuresTechniquesIntermediateAdvancedExpertBar on each topic = problems available (log in to track progress)
Array…Array — 0 problemsString…String — 0 problemsMath…Math — 0 problemsRecursion…Recursion — 0 problemsHash Table…Hash Table — 0 problems Learn first: Array, StringSorting…Sorting — 0 problems Learn first: ArrayTwo Pointers…Two Pointers — 0 problems Learn first: Array, StringPrefix Sum…Prefix Sum — 0 problems Learn first: ArrayStack…Stack — 0 problems Learn first: ArrayQueue…Queue — 0 problems Learn first: ArrayLinked List…Linked List — 0 problems Learn first: ArrayMatrix…Matrix — 0 problems Learn first: ArrayBitManipulation…Bit Manipulation — 0 problems Learn first: MathBinary Search…Binary Search — 0 problems Learn first: SortingSlidingWindow…Sliding Window — 0 problems Learn first: Two Pointers, Hash TableMonotonicStack…Monotonic Stack — 0 problems Learn first: StackGreedy…Greedy — 0 problems Learn first: SortingHeap…Heap — 0 problems Learn first: SortingBacktracking…Backtracking — 0 problems Learn first: RecursionDivide &Conquer…Divide & Conquer — 0 problems Learn first: Recursion, SortingTree…Tree — 0 problems Learn first: Linked List, RecursionStringMatching…String Matching — 0 problems Learn first: String, Hash TableBinary Tree…Binary Tree — 0 problems Learn first: TreeDepth-FirstSearch…Depth-First Search — 0 problems Learn first: Recursion, Stack, TreeBreadth-FirstSearch…Breadth-First Search — 0 problems Learn first: Queue, MatrixDynamicProgramming…Dynamic Programming — 0 problems Learn first: Recursion, BacktrackingUnion-Find…Union-Find — 0 problems Learn first: ArrayMonotonicQueue…Monotonic Queue — 0 problems Learn first: Queue, Sliding WindowTrie…Trie — 0 problems Learn first: Tree, Hash TableBinaryIndexed Tree…Binary Indexed Tree — 0 problems Learn first: Prefix Sum, Bit ManipulationBinarySearch Tree…Binary Search Tree — 0 problems Learn first: Binary Tree, Binary SearchGraph Theory…Graph Theory — 0 problems Learn first: Depth-First Search, Breadth-First SearchSegment Tree…Segment Tree — 0 problems Learn first: Binary Tree, Divide & ConquerBitmask DP…Bitmask DP — 0 problems Learn first: Dynamic Programming, Bit ManipulationTopologicalSort…Topological Sort — 0 problems Learn first: Graph TheoryShortest Path…Shortest Path — 0 problems Learn first: Graph Theory, HeapMinimumSpanning Tree…Minimum Spanning Tree — 0 problems Learn first: Graph Theory, Union-Find

👆 Select a topic on the chart to see its prerequisites and problems.