pith. sign in

arxiv: cs/0305005 · v1 · submitted 2003-05-09 · 💻 cs.DS · cs.CC

An In-Place Sorting with O(n log n) Comparisons and O(n) Moves

classification 💻 cs.DS cs.CC
keywords sortingalgorithmcomparisonselementin-placealgorithmsarrayasymptotic
0
0 comments X
read the original abstract

We present the first in-place algorithm for sorting an array of size n that performs, in the worst case, at most O(n log n) element comparisons and O(n) element transports. This solves a long-standing open problem, stated explicitly, e.g., in [J.I. Munro and V. Raman, Sorting with minimum data movement, J. Algorithms, 13, 374-93, 1992], of whether there exists a sorting algorithm that matches the asymptotic lower bounds on all computational resources simultaneously.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.