计算机科学 > 数据结构与算法
[提交于 2007年5月23日]
标题:An In-Place Sorting with O(n log n) Comparisons and O(n) Moves
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Gianni Franceschini[v1] 2007年5月23日 星期三 00:00:00 UTC