AlgoViz
← Back to the lesson
🧩 Puzzle · Apply Insertion Sort

Find its place

Sort these like a hand of cards. One green run is already sorted; take the next card (amber) and click the gap where it belongs — after every smaller card, before every larger one. That single decision, repeated, is insertion sort.

Place 2 into the sorted run — click the gap.
placing:2
5
to do:8163
The first card is a sorted run of one. Take the next card and click where it belongs.
Green = sorted run. Click the thin gap where the amber card belongs.no misses