3 ms·
That's radix sort. For what it's worth, I often have piles of sorted documents to sort together, so I've used merge sort on RL objects fairly regularly. Binar
by Natsu 16y ago
That's radix sort.
For what it's worth, I often have piles of sorted documents to sort together, so I've used merge sort on RL objects fairly regularly. Binary search, too, though I use the optimization where it's not strictly binary when I have a guess about where the item should be.
I've probably used a few other algorithms, but I can't think of any off the top of my head.