Academia.eduAcademia.edu

In-place sorting with fewer moves

1999, Information Processing Letters

Abstract

It is shown that an array of n elements can be sorted using O(1) extra space, O(n log n/ log log n) element moves, and n log 2 n + O(n log log n) comparisons. This is the first in-place sorting algorithm requiring o(n log n) moves in the worst case while guaranteeing O(n log n) comparisons, but due to the constant factors involved the algorithm is predominantly of theoretical interest.