Pivot Sampling in QuickXSort: Precise Analysis of QuickMergesort and QuickHeapsort

03/15/2018
by   Sebastian Wild, et al.
0

QuickXSort is a strategy to combine Quicksort with another sorting method X, so that the result has essentially the same comparison cost as X in isolation, but sorts in place even when X requires a linear-size buffer. We solve the recurrence for QuickXSort precisely up to the linear term including the optimization to choose pivots from a sample of k elements. This allows to immediately obtain overall average costs using only the average costs of sorting method X (as if run in isolation). We thereby extend and greatly simplify the analysis of QuickHeapsort and QuickMergesort with practically efficient pivot selection, and give the first tight upper bounds including the linear term for such methods.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/03/2018

QuickXsort - A Fast Sorting Scheme in Theory and Practice

QuickXsort is a highly efficient in-place sequential sorting scheme that...
research
04/27/2020

Batched Predecessor and Sorting with Size-Priced Information in External Memory

In the unit-cost comparison model, a black box takes an input two items ...
research
02/24/2023

Optimal Bounds for Noisy Sorting

Sorting is a fundamental problem in computer science. In the classical s...
research
07/05/2023

Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns

We consider the problem of comparison-sorting an n-permutation S that av...
research
06/29/2019

Most abundant isotope peaks and efficient selection on Y=X_1+X_2+... + X_m

The isotope masses and relative abundances for each element are fundamen...
research
11/08/2022

Universal Sorting: Finding a DAG using Priced Comparisons

We resolve two open problems in sorting with priced information, introdu...
research
08/09/2018

Non-Interfering Concurrent Exchange (NICE) Networks

In studying the statistical frequency of exchange in comparison-exchange...

Please sign up or login with your details

Forgot password? Click here to reset