0 XP · 0 scenes

Data structures and algorithms

DSA Roadmap: Learn the Patterns Behind LeetCode

A 4-phase, 30-week plan of 153 problems grouped by the pattern that solves them. Each problem walks you from a hint, to the brute force, to the smarter idea, to a dry run and clean code, written the way a friend would explain it.

Use the tracker to mark problems as solved, queue them for revision, and see your progress on one page.

Arrays & Hashing

Two Pointers

Sliding Window

Binary Search

Linked List

Stack / Queue

Trees

Heap / Priority Queue

Intervals

Greedy

Backtracking

Graphs

Dynamic Programming

Trie

Union Find

Bit Manipulation

Arrays / Matrix

Divide & Conquer

Design

Related guides

Common questions

How should I use the problem pages?

Try the problem yourself first. Each page gives hints one at a time, then the brute force and why it is slow, then the smarter idea and its name, then a step-by-step dry run and code in Python and Java.

In what order should I solve the problems?

In the order of the roadmap: core patterns first (arrays, hashing, two pointers, sliding window, binary search, linked lists, stacks), then trees to graphs, then dynamic programming and special topics, then mixed mock problems.

Do the pages explain the pattern or only the answer?

The pattern. Each problem explains how to recognise it, so the same idea works on a problem you have not seen before.

Are there video explanations?

Yes. After you open the approach, each problem page links to English and Hindi video explanations on YouTube. NeetCode (https://www.youtube.com/@NeetCode) explains most LeetCode problems in short videos, and take U forward (https://www.youtube.com/@takeUforward) covers patterns in depth.

Is it free?

Yes. No sign-up is needed. Your solved problems are kept in your browser, and you can optionally sign in to keep them across devices.