Sorting Algorithms

How computers put things in order: your teen runs bubble sort by hand, then insertion sort, then watches bubble, insertion and quick sort race each other, comparison by comparison.

  • 13–16 years
  • Read aloud
  • No ads
  • EN · БГ · РУ · УК
Play now
Sorting Algorithms, a screen from the game

What your child learns

  • How bubble sort and insertion sort work
  • Why quick sort is usually faster
  • Counting comparisons to compare algorithms

How to play

For bubble sort, decide whether each pair should swap; for insertion sort, tap where each card slides in. Then guess the winner of a race and watch. Wrong answers are explained.

Levels

  1. Level 1Bubble sort, by hand.
  2. Level 2Insertion sort, by hand.
  3. Level 3Which one finishes first?

A tip for parents

Sort a hand of playing cards both ways together and count the steps.

Works on phones, tablets and computers, with nothing to install. No ads and no tracking.