1What Is an Algorithm?
Precise recipes, judged by whether they are right and how they scale.
A course in three levels of depth (Brute Force, Optimized, Optimal). Every algorithm is a simulation you can step through, break and fix, from your first loop to the research frontier, and your understanding is measured, not just your clicks.
The course is a single recursion tree with three levels, like a problem split into subproblems. The inner ring is Brute Force: ten big ideas. Each splits into Optimized lessons, and each of those into Optimal deep dives at the research frontier. As you learn, your tree lights up. Click a segment to zoom in.
Live simulations: two pointers closing in, sliding windows, binary search halving, heaps sifting, Dijkstra relaxing edges, DP tables filling cell by cell and backtracking trees being pruned. You don’t read about an algorithm; you run it.
Commit to a prediction before every reveal. The surprise is where intuition gets rewired.
Bayesian knowledge tracing plus your stated confidence. Confident mistakes are flagged as misconceptions.
What you learn gets evicted like an unused cache line. Spaced reviews refresh it right before it fades.
190 lessons in 10 topics. Read any of them here; a free account adds the live simulations and keeps track of what you understand.
Precise recipes, judged by whether they are right and how they scale.
The building blocks every other data structure is made of.
The array techniques behind a huge share of interview and contest problems.
Put things in order, then find anything in a few steps.
Constant-time lookup, and fingerprints that find patterns in text.
Hierarchies that keep data ordered, prioritized and quick to query.
Networks of things, and the algorithms that explore, route and connect them.
Greedy choices, divide and conquer, backtracking and randomness.
Solve each subproblem once, then build the answer from small to large.
Choosing the right technique, and recognizing problems no fast algorithm is known to solve.
Free account, one login for every course. Progress syncs to your profile, so pick up on any device.
Create your account