Re:Why is quicksort better than other sorting algorithms in ...
by abdullahkhalids on Monday January 20, 2020 @02:35PM
(#22101476)
I did the same, but I guessed the optimal number of piles is logarithmic in the number of papers, though I can't make further analysis. I naively split into log_e(200) = 5.29 = 5 piles. Also, if you place all the piles within vision, you can merge them all in one go, because the next paper should always be on top of some pile.
[ Parent
| on HN ]
There are no comments on this comment yet.