arXiv · 2506.08261
Towards universally optimal sorting algorithms
Abstract
We formalize a new paradigm for optimality of algorithms, that generalizes worst-case optimality based only on input-size to problem-dependent parameters including implicit ones. We re-visit some existing sorting algorithms from this perspective, and also present a novel measure of sortedness that leads to an optimal algorithm based on partition sort. This paradigm of measuring efficiency of algorithms looks promising for further interesting applications beyond the existing ones.
Explore related subjects
Keep this discovery
Sandeep Sen. 2025-06-09. Towards universally optimal sorting algorithms. https://arxiv.org/abs/2506.08261
Cite the original work for its findings. Save a collection to share your selection of sources.