AlgoScope

AlgoScope is a visual lab for algorithms

Step through algorithms one decision at a time. Watch. Predict. Understand.

The picture is the algorithm running

Every frame comes from the engine running the algorithm and recording each step. Nothing is drawn by hand, so the picture, the highlighted code and the variables always show the same step.

In the clip, binary search looks for 9 in 9 sorted values. At step 2 it looks at the middle, 27. At step 4 it has thrown away the right half and looks at 9. At step 6 it has found 9 after 2 comparisons. At each step the cells, the highlighted lines of code and the variables change together.

It stops and asks

At each decision the player pauses and asks what happens next. You answer, then you see.

In the clip, the player has stopped on 27 with the target 9 and asks which way to go. Search left is picked, and the player answers Right with the reason.

On the web, iOS and Android

One engine runs all three, so a lesson behaves the same everywhere. On the web you can also run a lesson on your own input.

Download on the App StoreGet it on Google Play
Web player
Next.js and React
Engine in the browser
Kotlin, as WebAssembly
iOS app
SwiftUI
Android app
Jetpack Compose
Offline
In both apps

What it costs

  • LessonsEvery lesson is free and needs no account.
  • AdsThere are none.
  • ProAdds a review queue, a readiness score and timed drills. See pricing.

New here?

Found a mistake in a lesson? Press Report in the player, or contact us.