Mental Model
Radix sort sorts numbers by processing digits from the smallest place to the largest, grouping numbers by each digit step by step.
Analogy: Imagine sorting mail by zip code: first by the last digit, then the second last, and so on, until all mail is sorted perfectly.
Array: [170, 45, 75, 90, 802, 24, 2, 66] Buckets for digit 0-9: 0: [] 1: [] 2: [] 3: [] 4: [] 5: [] 6: [] 7: [] 8: [] 9: []