An in-place sorting with O (n log n) comparisons and O (n) Moves

被引:9
作者
Franceschini, G [1 ]
Geffert, V [1 ]
机构
[1] Univ Pisa, Dept Comp Sci, I-56127 Pisa, Italy
来源
44TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS | 2003年
关键词
D O I
10.1109/SFCS.2003.1238198
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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. L 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.
引用
收藏
页码:242 / 250
页数:9
相关论文
共 15 条