首页    期刊浏览 2024年11月24日 星期日
登录注册

文章基本信息

  • 标题:Optimal Time-Space Trade-Offs for Sorting
  • 本地全文:下载
  • 作者:Jakob Pagter ; Theis Rauhe
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:1998
  • 卷号:5
  • 期号:10
  • 出版社:Aarhus University
  • 摘要:We study the fundamental problem of sorting in a sequential model of computation and in particular consider the time-space trade-off (product of time and space) for this problem. Beame has shown a lower bound of Omega(n^2) for this product leaving a gap of a logarithmic factor up to the previously best known upper bound of O(n^2 log n) due to Frederickson. Since then, no progress has been made towards tightening this gap. The main contribution of this paper is a comparison based sorting algorithm which closes this gap by meeting the lower bound of Beame. The time-space product O(n^2) upper bound holds for the full range of space bounds between log n and n/log n. Hence in this range our algorithm is optimal for comparison based models as well as for the very powerful general models considered by Beame.
国家哲学社会科学文献中心版权所有