Algorithms

Radix sort

A sorting algorithm that doesn't compare: it sorts by digits, from last to first, using a stable sort on each pass.

Example

1 million 6-digit numbers are sorted in 6 passes: about 6 million steps.

Test yourself: Radix sort

Radix sort

Radix sort with 8-digit numbers makes ___ passes.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.