See algorithms. Build intuition.
Step through data structures and algorithms one decision at a time. At each decision the player stops and asks what happens next.
Every lesson is free. No account needed. Also on iOS and Android.
16 is smaller than 56, so 56 can only be to the right. Discard 5 values.
Predict Middle value is 16 and the target is 56. What happens next?
One loop, on every topic
Watch
Every step is one change: a comparison, a swap, a pointer move. Step back and forth at your own pace.
Predict
At each decision the player pauses and asks what happens next. Answer, then see.
Understand
The code, the variables and the picture always show the same step, with an explanation of why.
Every topic is a run you step through.
Start anywhere, or follow a track from the beginning.
Data Structures
The containers themselves: how each one is laid out, and which operation that layout makes cheap.Dynamic Programming
Solve each subproblem once, write the answer down, and read it back every other time it is asked for.Tree Algorithms
Walking, searching and rebalancing trees, where the height of the tree sets every cost.Problem-Solving Patterns
The cues in a problem statement that point at a technique, and the check that confirms the technique fits.Linked List Algorithms
Nodes joined by pointers, where every operation comes down to which arrow you move first.Stack and Queue Algorithms
Two rules about which end you are allowed to touch, and the algorithms that fall out of them.
Foundations
The essentials, in an order you can follow from zero.
- 1Array
- 2Binary Search
- 3Two Pointers
- 4Bubble Sort
- 5Insertion Sort
Interview Core
The mainstream set a university course or an interview loop expects, easiest first.
- 1Array
- 2Binary Search
- 3Two Pointers
- 4Bubble Sort
- 5Stable Sorting
The rest of the index
- Complexity Analysis
- Array Algorithms and Techniques
- Sorting
- Mathematics
- String Algorithms
- Bit Manipulation
- Computational Geometry
- Backtracking
- Graph Traversal
- Heap Algorithms
- Connectivity and Topological Order
- Greedy
- Two Pointers
- Algorithmic Paradigms
- Recursion
- Sliding Window
- Range Queries
- Searching
- Shortest Path
- Network Flow
- Hashing
- Divide and Conquer
- Minimum Spanning Tree
Learn free. Practise with Pro.
Every lesson, track and editor is free. Pro turns your predict-mode answers into practice, on the web and in both apps.
- Free
Run your own code
Write Python or JavaScript and run it against the lesson's examples, in your browser.
Try it on binary search - Pro
Readiness score
A score per topic from your prediction accuracy.
- Pro
Review queue
Everything you predicted wrong, resurfaced until it isn't.
- Pro
Timed drills
The same lessons, against a clock.
See pricing.
Keep your place
An account saves your progress and predictions on every device.
Create an accountStill free. Nothing is gated.
