Re:Ask HN: How have you applied computer science IRL?
by Natsu on Thursday October 28, 2010 @05:08AM
(#1842261)
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.
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.