arXiv · 1503.08498
Dual pivot Quicksort
Abstract
In this paper, we analyse the dual pivot Quicksort, a variant of the standard Quicksort algorithm, in which two pivots are used for the partitioning of the array. We are solving recurrences of the expected number of key comparisons and exchanges performed by the algorithm, obtaining the exact and asymptotic total average values contributing to its time complexity. Further, we compute the average number of partitioning stages and the variance of the number of key comparisons. In terms of mean values, dual pivot Quicksort does not appear to be faster than ordinary algorithm.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Vasileios Iliopoulos, David B. Penman. 2015-03-29. Dual pivot Quicksort. https://doi.org/10.1142/s1793830912500413
Cite the original work for its findings. Save a collection to share your selection of sources.