vix.ing · top · new · best · stats · spec

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

2003/05/09 by Franceschini, Gianni, Geffert, Viliam · 1 citation
#Computational Complexity (cs.CC) #Data Structures and Algorithms (cs.DS) #F.2.2 #FOS: Computer and information sciences

paper · doi:10.48550/arxiv.cs/0305005

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.

Cited by

Related