Quicksort Is Optimal For Many Equal Keys
August 17, 2016 Β· Declared Dead Β· π Workshop on Analytic Algorithmics and Combinatorics
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Sebastian Wild
arXiv ID
1608.04906
Category
cs.DS: Data Structures & Algorithms
Cross-listed
math.PR
Citations
5
Venue
Workshop on Analytic Algorithmics and Combinatorics
Last Checked
4 months ago
Abstract
I prove that the average number of comparisons for median-of-$k$ Quicksort (with fat-pivot a.k.a. three-way partitioning) is asymptotically only a constant $Ξ±_k$ times worse than the lower bound for sorting random multisets with $Ξ©(n^\varepsilon)$ duplicates of each value (for any $\varepsilon>0$). The constant is $Ξ±_k = \ln(2) / \bigl(H_{k+1}-H_{(k+1)/2} \bigr)$, which converges to 1 as $k\to\infty$, so Quicksort is asymptotically optimal for inputs with many duplicates. This resolves a conjecture by Sedgewick and Bentley (1999, 2002) and constitutes the first progress on the analysis of Quicksort with equal elements since Sedgewick's 1977 article.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Data Structures & Algorithms
π
π
The Cartographer
R.I.P.
π»
Ghosted
Route Planning in Transportation Networks
R.I.P.
π»
Ghosted
Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration
R.I.P.
π»
Ghosted
Hierarchical Clustering: Objective Functions and Algorithms
R.I.P.
π»
Ghosted
Graph Isomorphism in Quasipolynomial Time
π
π
The Cartographer
Simulation optimization: A review of algorithms and applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted