Suppose you are given the task to sort 100,000 social security
numbers (each is a 9 digit number). You have decided to use radix
sort for this problem and want to decide how many base-10 digits to
use for each radix sort digit. Which is best
(a) 1 base-10 digit per radix sort digit, or
(b) 3 base-10 digits per radix sort digit, or
(c) one radix sort digit of 4 base-10 digits and the other radix sort
digit of 5 base-10 digits
You are provided with a counting sort procedure with exact time
complexity of 5n+4k where n is the number of elements being sorted and
k is the number of possible values for the elements. Show your work.
solution