See algorithmsthink.
From sorting to transformers: 254 lessons in AI engineering, machine learning, algorithms, system design and databases. Each one is a live visualization you can pause, rewind and break. Then you prove you got it.
Free, and no account needed to start.
- Comparisons
- 0 compares
- Writes
- 0 writes
ready
Pick an algorithm, shuffle, sort. This is a real lesson, running.
Reading about it is not getting it.
Most courses ask you to watch and remember. Learning research points the other way: you learn by doing, guessing and recalling. Every lesson here is built on four of those findings.
Do it, don't just watch it
People understand a process better when they control it than when they watch a video of it.
You set the input, step forward and back, and change things to see what breaks.
Guess first
Predicting what happens next, then checking, makes an idea stick far better than being told.
The algorithm labs pause before key steps and ask you what comes next.
Recall, don't reread
Answering from memory beats rereading notes, even when it feels harder.
Every lesson ends in practice: 4,849 quiz questions in all, plus build-it activities and code.
In the right order
New ideas land when the ideas they build on are already in place.
Paths put the lessons in order, and every lesson says what to learn first.
Watch it.
Predict it.
Prove it.
You understand something when you can say what happens next before it does. Every lesson is built around that moment. Try the question here.
1. Watch
Every lesson runs on a transport bar. Pause on any step, go back one, change the input and run it again.
2. Predict
Quick sort has just dropped its pivot into place. What is true of every element to its left?
3. Prove
Write it yourself in the in-browser editor. Hidden tests decide when you are done.
- sorts an empty array
- keeps duplicates
- handles sorted input
- handles negative numbers
48 lessons, about 18 hours
Algorithms
Sorts, graphs, trees and dynamic programming, run one operation at a time with the code highlighted beside them.
Browse AlgorithmsWhat are you here for?
Pick one and answer two or three quick questions. We'll place you at the right point in a learning path.
From zero, in the right order.
Each path puts the lessons into phases, and every phase ends in a project you build and can show an interviewer.
Then prove it under interview conditions.
Write the code in Python, Java, JavaScript or TypeScript, then take a timed mock interview with hidden tests, follow-up questions and a score against the bar for the level you are aiming at.
Then learn to work with AI, not around it.
AI writes more of the code now. The work that pays is judging it, breaking it and saying exactly what good looks like. These drills practise that, with a readiness score for the role you want.
- Code tasteTwo versions that both work. Pick the one an expert would ship, and say why.
- Grade the AIFind the line where an AI answer goes wrong, and rate answers the way RLHF raters do.
- Write the evalWrite rubrics two graders would apply the same way, prompts that break models, and golden answers.
- AI-assisted coding roundsAn assistant wrote a solution that passes the examples. Find the input that breaks it and fix it.
Run a whole cohort on it.
Schools, employers and governments can run a program here. You pick a track. Learners study it, pass a timed assessment, form teams and build a project. Your judges score it and you publish the results, with an email to learners at every step.
- Free for every learner
- Every lesson, quiz and learning path costs nothing, and your program pays for their Pro while it runs.
- Nothing to install
- It runs in any modern browser, on a laptop or a phone. No plugins, no IT ticket.
- Built to be accessible
- Keyboard controls in the labs, reduced motion when a device asks for it, light and dark themes.
- No account to start
- Learners can open any lesson straight away and sign in only when they want to save progress.
Your first lesson takes two minutes.
Every visualization and every quiz is free. Start now, and make an account later if you want to keep your progress.