Back to Sprint Dashboard

DSA 75 Visual Roadmap

Step-by-step pattern progression path. Master each pattern in order from foundational pointer techniques to advanced dynamic programming.

1

Two Pointers

Attack the problem from two angles. Optimize O(n²) to O(n).

6 Problems

Attack the problem from two angles. Optimize O(n²) to O(n).

2

Sliding Window

Efficiently process contiguous subarrays and substrings.

5 Problems

Efficiently process contiguous subarrays and substrings.

3

Stack

LIFO mastery — parentheses, monotonic stacks, and expression parsing.

7 Problems

LIFO mastery — parentheses, monotonic stacks, and expression parsing.

4

Binary Search

Divide and conquer to achieve O(log n) search efficiency.

3 Problems

Divide and conquer to achieve O(log n) search efficiency.

5

Intervals

Merge, insert, and process overlapping time ranges.

6 Problems

Merge, insert, and process overlapping time ranges.

6

Linked List

Pointer manipulation, cycle detection, and list reversal.

5 Problems

Pointer manipulation, cycle detection, and list reversal.

7

Heap / Priority Queue

Efficient min/max element access for streaming and top-K problems.

4 Problems

Efficient min/max element access for streaming and top-K problems.

8

DFS — Trees

Recursion on tree structures: depth, paths, and validation.

6 Problems

Recursion on tree structures: depth, paths, and validation.

9

BFS — Level Order

Layer-by-layer traversal for shortest paths and level processing.

5 Problems

Layer-by-layer traversal for shortest paths and level processing.

10

Graphs

Connectivity, topological sort, and cycle detection.

7 Problems

Connectivity, topological sort, and cycle detection.

11

Backtracking

Explore all possibilities and prune invalid paths.

4 Problems

Explore all possibilities and prune invalid paths.

12

Dynamic Programming

Optimal substructure meets overlapping subproblems.

7 Problems

Optimal substructure meets overlapping subproblems.

13

Greedy

Locally optimal choices that lead to globally optimal solutions.

3 Problems

Locally optimal choices that lead to globally optimal solutions.

14

Trie

Prefix tree for efficient string search and autocomplete.

2 Problems

Prefix tree for efficient string search and autocomplete.

15

Prefix Sum

Precompute once, then answer any range query in constant time.

2 Problems

Precompute once, then answer any range query in constant time.

16

Matrices

In-place manipulation, spiral traversal, and grid transformations.

3 Problems

In-place manipulation, spiral traversal, and grid transformations.