How would you sort 10 million phone numbers?
Anonymous
Radix sort would sort in linear time. Since phone numbers are of fixed length (assuming 10), the complexity would be O(10*10million) Refer wiki for more info: http://en.wikipedia.org/wiki/Radix_sort
Check out your Company Bowl for anonymous work chats.