Straight Insertion Sort, Shellsort, Straight Merge Sort,Quickersort, and Heapsort are compared on nearly sorted lists. Theratio of the minimum number of list elements which must be removedso that the remaining portion of the list is in order to the sizeof the list is the authors’ measure of sortedness. Tests onrandomly generated lists of various combinations of list length andsmall sortedness ratios indicate that Straight Insertion Sort isbest for small or very nearly sorted lists and that Quickersort isbest otherwise. Cook and Kim also show that a combination of theStraight Insertion Sort and Quickersort with merging yields asorting method that performs as well as or better than eitherStraight Insertion Sort or Quickersort on nearly sorted lists. © 1980, ACM. All rights reserved.
CITATION STYLE
Cook, C. R., & Kim, D. J. (1980). Best Sorting Algorithm for Nearly Sorted Lists. Communications of the ACM, 23(11), 620–624. https://doi.org/10.1145/359024.359026
Mendeley helps you to discover research relevant for your work.