Insertion sort
Put each number in its place, just like sorting a hand of cards.
Build your intuition for sorting, data structures, and searching. Each topic will bring together a lesson, an interactive experiment, a challenge, and a quiz.
Insertion sort is ready: explore the lesson, try the visualizer, and test your understanding. The other modules and saved progress are still upcoming.
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.