Lower Bounds for Sorting 16, 17, and 18 Elements

06/11/2022
by   Florian Stober, et al.
0

It is a long-standing open question to determine the minimum number of comparisons S(n) that suffice to sort an array of n elements. Indeed, before this work S(n) has been known only for n≤ 22 with the exception for n=16, 17, and 18. In this work, we fill that gap by proving that sorting n=16, 17, and 18 elements requires 46, 50, and 54 comparisons respectively. This fully determines S(n) for these values and disproves a conjecture by Knuth that S(16) = 45. Moreover, we show that for sorting 28 elements at least 99 comparisons are needed. We obtain our result via an exhaustive computer search which extends previous work by Wells (1965) and Peczarski (2002, 2004, 2007, 2012). Our progress is both based on advances in hardware and on novel algorithmic ideas such as applying a bidirectional search to this problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/24/2023

Optimal Bounds for Noisy Sorting

Sorting is a fundamental problem in computer science. In the classical s...
research
02/03/2022

Noisy Sorting Capacity

Sorting is the task of ordering n elements using pairwise comparisons. I...
research
12/01/2020

Huskysort

Much of the copious literature on the subject of sorting has concentrate...
research
11/14/2021

Stochastic and Worst-Case Generalized Sorting Revisited

The generalized sorting problem is a restricted version of standard comp...
research
02/27/2019

Padovan heaps

We analyze priority queues of Fibonacci family. The paper is inspired by...
research
11/08/2022

Universal Sorting: Finding a DAG using Priced Comparisons

We resolve two open problems in sorting with priced information, introdu...
research
10/15/2020

Sorting Short Keys in Circuits of Size o(n log n)

We consider the classical problem of sorting an input array containing n...

Please sign up or login with your details

Forgot password? Click here to reset