4 ms·
Thanks, I'm sorry I misunderstood your brief description. There's no hash table here, this is just bucket sort. I don't think anyone should care about the dif
by anonymoushn 16y ago
Thanks, I'm sorry I misunderstood your brief description.
There's no hash table here, this is just bucket sort. I don't think anyone should care about the difference between counting sort and bucket sort, though. The only thing I would mind about this is that it allocates 100x the necessary memory, but I'm sure you wouldn't actually do that when it matters.