English

Towards universally optimal sorting algorithms

Data Structures and Algorithms 2025-11-11 v2 Computational Complexity

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.

Keywords

Cite

@article{arxiv.2506.08261,
  title  = {Towards universally optimal sorting algorithms},
  author = {Sandeep Sen},
  journal= {arXiv preprint arXiv:2506.08261},
  year   = {2025}
}

Comments

8 pages

R2 v1 2026-07-01T03:07:59.855Z