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

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

计算机科学 > 数据结构与算法

arXiv:2104.02461 (cs)
[提交于 2022年12月16日 (v1),最后修订于 2023年9月19日 (此版本, v4)]

标题:Sorted Range Reporting and Range Minima Queries

作者:Waseem Akram, Sanjeev Saxena
查看论文《Sorted Range Reporting and Range Minima Queries》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Given an array A[1: n] of n elements drawn from an ordered set, the sorted range selection problem is to build a data structure that can be used to answer the following type of queries efficiently: Given a pair of indices i, j $ (1\le i\le j \le n)$, and a positive integer k, report the k smallest elements from the sub-array A[i: j] in order. Brodal et al. (Brodal, G.S., Fagerberg, R., Greve, M., and L{\'o}pez-Ortiz, A., Online sorted range reporting. Algorithms and Computation (2009) pp. 173--182) introduced the problem and gave an optimal solution. After O(n log n) time for preprocessing, the query time is O(k). The space used is O(n). In this paper, we propose the only other possible optimal trade-off for the problem. We present a linear space solution to the problem that takes O(k log k) time to answer a range selection query. The preprocessing time is O(n). Moreover, the proposed algorithm reports the output elements one by one in non-decreasing order. Our solution is simple and practical. We also describe an extremely simple method for range minima queries (most of whose parts are known) which takes al most (but not exactly) linear time. We believe that this method may be, in practice, faster and easier to implement in most cases.
主题: 数据结构与算法 (cs.DS)
引用方式: arXiv:2104.02461 [cs.DS]
  (或者 arXiv:2104.02461v4 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.2104.02461
期刊参考: In Applied Algorithm: ICAA 2025, Lecture Notes in Computer Science, vol 15505
相关 DOI: https://doi.org/10.1007/978-3-031-84543-7_2

提交历史

来自:Sanjeev Saxena
[v2] 2022年12月16日 星期五 07:17:24 UTC
[v3] 2023年8月23日 星期三 08:27:22 UTC
[v4] 2023年9月19日 星期二 09:55:20 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-09
切换浏览方式为:
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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