Data Structures & Algorithms Roadmap

A structured, step-by-step master path from fundamental arrays to advanced dynamic programming and graph theory. Click any topic to jump directly to its curated LeetCode problem set.

30
Core Topics
4 Tiers
Beginner to Master
Direct Practice
LeetCode Problem Lists
Critical High Medium Bonus
1

Level 1: Foundations & Linear Data Structures

Master programming basics, asymptotic time & space complexity, two-pointer traversals, sliding window techniques, and binary search fundamentals.

Target Elo: 1200 – 1500 · 8 Topics

Time & Space Complexity

Critical

Arrays & Dynamic Arrays

Critical

Strings

Critical

Hash Table & Hashing

Critical

Two Pointers Technique

High

Sliding Window

High

Searching & Sorting

High

Binary Search

Critical
2

Level 2: Non-Linear & Classic Problem Solving

Master 2D matrices, linked list pointers, LIFO/FIFO stacks and queues, recursive exploration, backtracking search, and heap priority queues.

Target Elo: 1500 – 1800 · 8 Topics

2D Arrays & Matrix

Medium

Linked Lists

High

Stack & Monotonic Stack

High

Queue & Deque

Medium

Recursion & Backtracking

High

Heaps & Priority Queue

High

Greedy Algorithms

High

Divide and Conquer

Medium
3

Level 3: Trees, Graphs & Dynamic Programming

Master hierarchical binary trees, graph traversals (BFS/DFS), topological ordering, shortest path algorithms, and multidimensional dynamic programming.

Target Elo: 1800 – 2100 · 7 Topics

Binary Trees

Critical

Binary Search Tree (BST)

Medium

Graphs (BFS & DFS)

Critical

Topological Sort

Medium

Shortest Path Algorithms

Medium

Dynamic Programming

Critical

2D DP & Subsequences

High
4

Level 4: Advanced Data Structures & Master Algorithms

Specialized data structures and contest Q4 paradigms: Disjoint Set Union (DSU), Trie prefix trees, Bit Manipulation, Segment Trees, Number Theory, and Combinatorics.

Target Elo: 2100+ (Guardian) · 7 Topics

Disjoint Set Union (DSU)

Medium

Bit Manipulation

Medium

Trie (Prefix Tree)

Medium

Segment Tree & Fenwick Tree

Bonus

Math & Number Theory

Medium

Combinatorics & Game Theory

Bonus

Advanced Dynamic Programming

Bonus

Frequently Asked Questions

How is this DSA Roadmap structured?

The roadmap follows a natural difficulty progression divided into 4 tiers: Level 1 (Foundations & Linear Structures), Level 2 (Non-Linear Structures & Problem Solving), Level 3 (Trees, Graphs & Dynamic Programming), and Level 4 (Advanced Data Structures & Master Algorithms). You can follow it linearly or focus on specific weak spots.

What happens when I click on a roadmap item?

Clicking any node in the list instantly opens the official LeetCode problem list for that topic (e.g. Dynamic Programming redirects to https://leetcode.com/problem-list/dynamic-programming) in a new tab so you can start solving right away.

Opening LeetCode problem list...