How would you design an algorithm that sorts numbers in a limited set 0..100?
Sigiloso
The trick is that you aren't writing a sort algorithm per-se, you're writing a histogram collection algorithm, and then you dump out the counts in each bin in order. Clever.