3 ms·
> Are you sure? Consider this: if you wanted to sort an array of 1,000,000 numbers between 1 and 100 as fast as possible, how would you do it? I'd use radix so
by silentbicycle 16y ago
> Are you sure? Consider this: if you wanted to sort an array of 1,000,000 numbers between 1 and 100 as fast as possible, how would you do it?
I'd use radix sort. It's O(n) rather than O(n log n).