Pattern-defeating Quicksort

06/09/2021
by   Orson R. L. Peters, et al.
0

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 O(nk) for inputs with k 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/02/2018

Worst-Case Efficient Sorting with QuickMergesort

The two most prominent solutions for the sorting problem are Quicksort a...
research
05/16/2018

Improved Worst-Case Deterministic Parallel Dynamic Minimum Spanning Forest

This paper gives a new deterministic algorithm for the dynamic Minimum S...
research
11/25/2019

Fast Fibonacci heaps with worst case extensions

We are concentrating on reducing overhead of heaps based on comparisons ...
research
11/14/2021

Stochastic and Worst-Case Generalized Sorting Revisited

The generalized sorting problem is a restricted version of standard comp...
research
01/20/2023

Worst Case Resistance Testing: A Nonresponse Bias Solution for Today's Behavioral Research Realities

This study proposes a method of nonresponse assessment based on meta-ana...
research
04/15/2023

Learned Interpolation for Better Streaming Quantile Approximation with Worst-Case Guarantees

An ε-approximate quantile sketch over a stream of n inputs approximates ...

Please sign up or login with your details

Forgot password? Click here to reset