arXiv · 1803.05948
Average Cost of QuickXsort with Pivot Sampling
Abstract
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.
Explore related subjects
Keep this discovery
Sebastian Wild. 2018-03-15. Average Cost of QuickXsort with Pivot Sampling. https://doi.org/10.4230/lipics.aofa.2018.36
Cite the original work for its findings. Save a collection to share your selection of sources.