Android & iPhone apps are coming soon. Log in for a plan and reminders made for you →

Lessons

Free DSA lessons, level by level

40 concepts explain the idea behind each pattern from scratch. 42 tips are short lessons on spotting and using it, and 19 cover the math interviews rely on. They follow the path, easiest first.

Today's tip for you

“Have I seen this?” is a set

Checking whether you've met a value before? Put values in a set as you go: each check is O(1) instead of a scan.

Picked for your level (Beginner) and where you are on the roadmap · Arrays & Strings

1.Arrays & Strings

On the path →

2.Two Pointers

On the path →

3.Sliding Window

On the path →

6.Linked List

On the path →

8.Heap / Priority Queue

On the path →

9.Backtracking

On the path →

11.Dynamic Programming

On the path →

12.Greedy & Intervals

On the path →

13.Bit Manipulation & Math

On the path →

Habits & complexity