Counting sort
Level 2 of 3
For small whole numbers, never compare two of them. Count how many there are of each value, add the counts up into running totals, and the totals say exactly where every number goes.
the row
tallies, then running totals
- counted
- 0
- totals added
- 0
- placed
- 0
step 1 of 1
Examples