Free. No sign-up. Runs in your browser.
Learn algorithms and AI by working through them.
Lessons you can step through one move at a time, problems you solve and test right here, and a plain-spoken guide to how AI works and how to use it well.
- prices01L13243649511R
- sum
- 12
- budget
- 14
1Sorted prices, budget 14. Put one finger on each end.
- prices0113L243649511R
- sum
- 14
- budget
- 14
212 is too small. Only moving L can make the sum bigger.
- prices0113L243649511R
- sum
- 14
- budget
- 14
33 + 11 = 14. Found it in two steps, not fifteen.
Pick up where you left off
- Step-through traces of every idea
- Code in JavaScript and Python
- Quick checks as you go
- Hints revealed one at a time
- Run and submit in the browser
- Walkthroughs after you solve
- No hype, no vendor lock-in
- Rewrite real prompts yourself
- Habits for checking AI output
New here? Start with these five.
About an hour in total. You will learn how to measure code, use the most useful data structure there is, solve a real problem in the browser, and write better prompts.
- 1LessonWhat Is an AlgorithmWhat you are actually learning, in ten minutes.
- 2LessonBig-O NotationThe one tool you need to compare solutions.
- 3LessonHash TablesThe data structure behind half of all interview answers.
- 4ProblemMatching ReceiptsYour first problem. Write code, run it, see it pass.
- 5AI lessonPrompting BasicsStart using AI tools well, whatever you build.
How it works
See it move
Every algorithm comes with a tracer. Click Next and watch the pointers, the table, the queue change one step at a time.
Write real code
Solve problems in JavaScript or Python. Your code runs in your browser against visible examples and hidden edge cases.
Get unstuck the right way
Hints come one at a time, from a nudge to nearly the answer. The full walkthrough unlocks when you solve it, or when you decide to look.