Overview
Radix Sort repeatedly groups values by digit position, often using a stable counting sort for each pass.
Sorts values by processing one digit or character position at a time.
Compact metadata for implementation and discovery.
Radix Sort repeatedly groups values by digit position, often using a stable counting sort for each pass.
Quick facts
Runtime and memory behavior at a glance.
Best
O(d(n + k))
Average
O(d(n + k))
Worst
O(d(n + k))
Space
O(n + k)
Show values being regrouped by each digit from one pass to the next.
Radix Sort operates in O(d(n + k)) time and O(n + k) space within the Distribution Sort family. Often compared with Counting Sort and Quick Sort.
What each reference supports for this entry.
Textbook support for Radix Sort invariants, recurrences, relaxation rules, or asymptotic analysis.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Sorting · Extended
American flag sort is an in-place radix sort variant that counts buckets and permutes items into final bucket ranges.
Compare with thisRadix sort uses stable counting-style passes to order keys digit by digit.