Adaptive Shivers Sort: An Alternative Sorting Algorithm
We present a stable mergesort, called , that exploits the existence of monotonic runs for sorting efficiently partially sorted data. We also prove that, although this algorithm is simple to implement, its computational cost, in number of comparisons performed, is optimal up to an additive linear term.
READ FULL TEXT