paper

Pattern-defeating Quicksort

arXiv:2106.05123

Abstract

A new solution for the Dutch national flag problem is proposed, requiring no three-way comparisons, which gives quicksort a proper worst-case runtime of for inputs with distinct elements. This is used together with other known and novel techniques to construct a hybrid sort that is never significantly slower than regular quicksort while speeding up drastically for many input distributions.

20 pages, 10 figures

References in corpus (1)

Cited by in corpus (1)