AlgoScope
AlgoScope in the browser

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.

Download on the App StoreGet it on Google Play
binary-searchtarget 56Decision · step 3 of 6
Comparing target 56 with middle value 16 at index 4. 16 is smaller, so the target must be to the right. Discarding indices 0 to 4. Now searching indices 5 to 9.active 5-920518212316✓4235386567728919midlowhigh16 < 56

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?

Open the lesson, or jump to this step.

How a lesson works

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.

Curriculum

Every topic is a run you step through.

Start anywhere, or follow a track from the beginning.

Free and Pro

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 account

Still free. Nothing is gated.