Begin Algo
Learning roadmap

Roadmap

Work from the top down. A line means a prerequisite: finish the node above and the one below comes easier. Click a node to see the lessons inside it.

Overall progress
0/93
Foundations0/3Arrays & Hashing0/5Two Pointers0/1Stack & Queue0/4Sorting0/9Binary Search0/3Sliding Window0/1Linked List0/5Divide & Conquer0/4Trees0/4Tries0/2Heap / Priority Queue0/3Backtracking0/5Segment & Fenwick Tree0/2Strings0/5Greedy0/5Graphs0/81-D Dynamic Programming0/5Advanced Graphs0/52-D Dynamic Programming0/6Bit Manipulation0/4Math & Number Theory0/4

What's in each node

In learning order · click a node in the map to jump to its card
Complexity and recursion

Foundations

0/3 learned
Prerequisites
This is the starting point
Leads to
Access by index and by key

Arrays & Hashing

0/5 learned
Prerequisites
Leads to
Two indices, one pass

Two Pointers

0/1 learned
Prerequisites
Leads to
LIFO, FIFO and monotonic variants

Stack & Queue

0/4 learned
Prerequisites
Leads to
Linear and binary search

Binary Search

0/3 learned
Prerequisites
Leads to
A moving range over a sequence

Sliding Window

0/1 learned
Prerequisites
Leads to
Split, solve, combine

Divide & Conquer

0/4 learned
Prerequisites
Leads to
Binary trees and BSTs

Trees

0/4 learned
Prerequisites
Leads to
Prefix trees

Tries

0/2 learned
Prerequisites
Leads to
Always know the smallest

Heap / Priority Queue

0/3 learned
Prerequisites
Leads to
Try, undo, try again

Backtracking

0/5 learned
Prerequisites
Leads to
Range query structures

Segment & Fenwick Tree

0/2 learned
Prerequisites
Leads to
End of the roadmap
String matching algorithms

Strings

0/5 learned
Prerequisites
Leads to
End of the roadmap
DP over a single index

1-D Dynamic Programming

0/5 learned
Prerequisites
Leads to
Two-dimensional and advanced DP

2-D Dynamic Programming

0/6 learned
Prerequisites
Leads to
Working with bits directly

Bit Manipulation

0/4 learned
Prerequisites
Leads to
GCD, primes and modular arithmetic

Math & Number Theory

0/4 learned
Prerequisites
Leads to
End of the roadmap