- 1
Principle of the radix sort
- Sorts a list of fixed size integer keys
- Separates the key into individual digits of some radix
- Sorts digit-by-digit
- In this case we use a least significant digit sort
- Sorts first the least significant digit of the key, then the next and so
- n
- Provides a stable sort
- Radix sort is O(kn) where n is the number of keys and k
the key length
- Grows linearly with the data set size, assuming constant memory
performance
- It is not necessarily the fastest sort available
Acknowledgement: These slides were provided by Ben Gaster and Lee Howes of AMD