Improved Average Complexity for Comparison-Based Sorting
Kazuo Iwama, Junichi Teruyama

TL;DR
This paper improves the theoretical understanding of the average comparison complexity in comparison-based sorting algorithms, achieving a tighter lower bound on the linear term constant through a novel two-element insertion method.
Contribution
It introduces a new insertion technique that refines the linear term constant in the average comparison complexity, narrowing the gap to the information-theoretic lower bound.
Findings
Achieved a new constant of -1.4106 in the average comparison complexity.
Developed a two-element insertion method that complements binary insertion.
Narrowed the gap to the theoretical lower bound by approximately 25%.
Abstract
This paper studies the average complexity on the number of comparisons for sorting algorithms. Its information-theoretic lower bound is . For many efficient algorithms, the first term is easy to achieve and our focus is on the (negative) constant factor of the linear term. The current best value is for the MergeInsertion sort. Our new value is , narrowing the gap by some . An important building block of our algorithm is "two-element insertion," which inserts two numbers and , , into a sorted sequence . This insertion algorithm is still sufficiently simple for rigorous mathematical analysis and works well for a certain range of the length of for which the simple binary insertion does not, thus allowing us to take a complementary approach with the binary insertion.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · Genome Rearrangement Algorithms
