跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 离散数学

arXiv:1607.04604 (cs)
[提交于 2016年7月15日]

标题:Best-case Analysis of MergeSort with an Application to the Sum of Digits Problem, A manuscript (MS) v2

作者:Marek A. Suchenek
查看论文《Best-case Analysis of MergeSort with an Application to the Sum of Digits Problem, A manuscript (MS) v2》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:An exact formula \[ B(n) = \frac{n}{2}(\lfloor \lg n \rfloor + 1) - \sum _{k=0} ^{\lfloor \lg n \rfloor} 2^k Zigzag(\frac{n}{2^{k+1}}), \] where \[ Zigzag (x) = \min (x - \lfloor x \rfloor, \lceil x \rceil - x), \] for the minimal number $ B(n) $ of comparisons of keys performed by $ {\tt MergeSort} $ on an $ n $-element array is derived and analyzed. The said formula is less complex than any other known formula for the same and can be evaluated in $ O(\log ^{c}) $ time, where $ c $ is a constant. It is shown that there is no closed-form formula for the above. Since the recurrence relation for the minimal number of comparisons of keys for $ {\tt MergeSort} $ is identical with a recurrence relation for the number of 1s in binary expansions of all integers between $ 0 $ and $ n $ (exclusively), the above results extend to the sum of binary digits problem.
评论: This is a longer (12 pages added) version v2 of the article deposited at ArXive on July 15, 2016, under the same title. These new Sections 7, 8, and 9 contain proofs of Theorems 2.2, 3.1, and 4.1. Other than that, the current version v2 is identical with the original version v1. 37 pages, 14 figures, a draft of a manuscript intended for future journal publication
主题: 离散数学 (cs.DM); 计算复杂性 (cs.CC); 数据结构与算法 (cs.DS)
引用方式: arXiv:1607.04604 [cs.DM]
  (或者 arXiv:1607.04604v1 [cs.DM] 对于此版本)
  https://doi.org/10.48550/arXiv.1607.04604

提交历史

来自:Marek Suchenek
[v1] 2016年7月15日 星期五 18:21:48 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DM
< 上一篇   |   下一篇 >
最新 | 近期 | 2016-07
切换浏览方式为:
cs
cs.CC
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站