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.
What it costs
- Lessons
- Ads
- Pro
