Generalized Leapfrogging Samplesort: A Class of $O(n \log^2 n)$ Worst-Case Complexity and $O(n \log n)$ Average-Case Complexity Sorting Algorithms
Eliezer A. Albacea

TL;DR
This paper introduces a generalized class of Leapfrogging Samplesort algorithms that achieve an $O(n \, \log^2 n)$ worst-case and $O(n \, \log n)$ average-case complexity, enhancing sorting efficiency.
Contribution
It generalizes Leapfrogging Samplesort with a new parameterization, providing practical implementation and complexity analysis for improved sorting performance.
Findings
Worst-case complexity is $O(n \log^2 n)$.
Average-case complexity is $O(n \log n)$.
Practical implementation demonstrates the theoretical bounds.
Abstract
The original Leapfrogging Samplesort operates on a sorted sample of size and an unsorted part of size . We generalize this to a sorted sample of size and an unsorted part of size , where . We present a practical implementation of this class of algorithms and we show that the worst-case complexity is and the average-case complexity is . Keywords: Samplesort, Quicksort, Leapfrogging Samplesort, sorting, analysis of algorithms.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Machine Learning and Algorithms · Optimization and Search Problems
