Ready to explore
Sorting · 20 min
Insertion sort
Put each number in its place, just like sorting a hand of cards.
01 / Learning path
Algorithms don’t have to feel like a puzzle with missing pieces. See how they work, try things out, and make the ideas your own.
Explore the learning pathClear explanations. Real examples.
Change the input. Follow each step.
Play, predict, and test what you know.
Five foundational topics. Plenty of room to experiment.
Start with insertion sort. More lessons are on their way.
Put each number in its place, just like sorting a hand of cards.
Explore why the last thing in is the first thing out.
Keep things fair with a first-in, first-out waiting line.
Make a queue wrap around and reuse its empty spaces.
Find your target by cutting a sorted search space in half.
We’re building a space where you can ask “why?”, make mistakes, and try again.