Best sorting algorithm for nearly sorted lists

Author:

Cook Curtis R.1,Kim Do Jin2

Affiliation:

1. Oregon State Univ., Corvallis

2. National Semi-Conductor, Sunnyvale, CA

Abstract

Straight Insertion Sort, Shellsort, Straight Merge Sort, Quickersort, and Heapsort are compared on nearly sorted lists. The ratio of the minimum number of list elements which must be removed so that the remaining portion of the list is in order to the size of the list is the authors' measure of sortedness. Tests on randomly generated lists of various combinations of list length and small sortedness ratios indicate that Straight Insertion Sort is best for small or very nearly sorted lists and that Quickersort is best otherwise. Cook and Kim also show that a combination of the Straight Insertion Sort and Quickersort with merging yields a sorting method that performs as well as or better than either Straight Insertion Sort or Quickersort on nearly sorted lists.

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference14 articles.

1. Algorithm 207: stringsort

2. Elson M. Data Structures. Sci. Res. Associates Chicago IlL 1975. An excellent data structures textbook with a chapter on sorting. Elson M. Data Structures. Sci. Res. Associates Chicago IlL 1975. An excellent data structures textbook with a chapter on sorting.

3. Algorithm 245: Treesort

4. On computing the length of longest increasing subsequences

Cited by 79 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. LSA: A Novel State-Of-The-Art Sorting Algorithm for Efficient Arrangement of Large Data;Proceedings of the 2023 4th Asia Service Sciences and Software Engineering Conference;2023-10-27

2. Backward-Sort for Time Series in Apache IoTDB;2023 IEEE 39th International Conference on Data Engineering (ICDE);2023-04

3. LeaFTL: A Learning-Based Flash Translation Layer for Solid-State Drives;Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2;2023-01-27

4. Fairness-driven integrated multi-prosumer load scheduling incorporating solar energy;Sustainable Energy Technologies and Assessments;2022-10

5. A new sorting algorithm-based merging weighted fraction Monte Carlo method for solving the population balance equation for particle coagulation dynamics;International Journal of Numerical Methods for Heat & Fluid Flow;2022-09-29

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3