why isn't bucket sort (on the whole dataset) applicable in your situation?
But no indication of what provokes that worst case.
(With no indication that I can see for what K is.)
(A radix sort has possibilities; but I haven't gotten to pursuing them.)
In reply to Re^2: [OT] A measure of 'sortedness'?
by BrowserUk
in thread [OT] A measure of 'sortedness'?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |