...
首页> 外文期刊>Theoretical computer science >A simple linear-space data structure for constant-time range minimum query
【24h】

A simple linear-space data structure for constant-time range minimum query

机译:用于恒定时间范围最小查询的简单线性空间数据结构

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We revisit the range minimum query problem and present a new O(n)-space data structure that supports range minimum queries in O(1) time. The goal is to construct a static data structure that efficiently supports range minimum queries on a given list A[0 : n - 1] of n items drawn from a totally ordered set. Each range minimum query consists of an input pair of indices (i, j) for which the minimum element of the subarray A[i : j] must be returned. Although previous data structures exist whose asymptotic bounds match ours, our goal is to introduce a new solution that is simple, intuitive, and practical without increasing asymptotic costs for query time or space. We analyze our new data structure theoretically and practically, the latter through an evaluation of its performance relative to implementations of four of the top range minimum query data structures. (C) 2018 Elsevier B.V. All rights reserved.
机译:我们重新审视范围最小查询问题,并提出了一个新的O(n) - 空间数据结构,它支持O(1)时间内的范围最小查询。 目标是构造一个静态数据结构,其有效地支持从完全有序集中绘制的给定列表A [0:n - 1]的给定列表中的范围最小查询。 每个范围最小查询包括一个输入对指数(i,j),必须返回子阵列a [i:j]的最小元素。 尽管存在以前的数据结构,但是渐近界限与我们的匹配,但我们的目标是介绍一个简单,直观和实用的新解决方案,而不会增加查询时间或空间的渐近成本。 我们通过理论上和实际地分析了我们的新数据结构,后者通过对其性能的评估相对于四个顶部范围最小查询数据结构的实现来评估。 (c)2018年elestvier b.v.保留所有权利。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号