228 interactive lessons

    See algorithmsthink.

    Algorithms, system design, machine learning, databases and AI engineering — every idea as a live visualization you can pause, rewind and break. Then prove you got it.

    Takes two minutes. No account needed to start.

    Comparisons
    0 compares
    Writes
    0 writes

    ready

    Open the full Quick Sort lesson — step through it, then take the quiz

    Try it: pick an algorithm, shuffle, sort. This is a real lesson, running.

    01 / 0548 visualizations · ~18 h

    Algorithms

    Sorts, graphs, trees and dynamic programming, run one operation at a time with the code highlighted beside them.

    Browse Algorithms
    Sorting25 of 26 placedO(n log n)

    How a lesson works

    Watch it.
    Predict it.
    Prove it.

    Understanding is the moment you can say what happens next before it does. Every lesson is built around that moment. Try the one on the right.

    01 Watch

    Every lesson runs on a transport bar. Pause on any step, go back one, change the input and run it again.

    02 Predict

    Quick sort has just dropped its pivot into place. What is true of every element to its left?

    03 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

    Pick a path

    From zero, in the right order.

    Each path sequences the lessons into phases, and every phase ends in a capstone you build and can show an interviewer.

    1. 01Software Engineer6 phases · 99 lessons · ~33 h · 6 capstones
    2. 02AI Engineer8 phases · 124 lessons · ~36 h · 8 capstones
    3. 03ML Engineer7 phases · 80 lessons · ~26 h · 7 capstones

    Your first lesson takes two minutes.

    Every visualization and every quiz is free. Start now, make an account later to keep your streak.

    lessons
    228
    lessons
    quiz questions
    4,629
    quiz questions
    career paths
    3
    career paths