中文
相关论文

相关论文: How to answer a small batch of RMQs or LCA queries…

200 篇论文

Range Minimum Query (RMQ) is an important building brick of many compressed data structures and string matching algorithms. Although this problem is essentially solved in theory, with sophisticated data structures allowing for constant time…

数据结构与算法 · 计算机科学 2017-07-12 Szymon Grabowski , Tomasz Kowalski

Range Minimum Query (RMQ) is an important building brick of many compressed data structures and string matching algorithms. Although this problem is essentially solved in theory, with sophisticated data structures allowing for constant time…

数据结构与算法 · 计算机科学 2017-11-29 Tomasz Kowalski , Szymon Grabowski

We consider the problem of encoding range minimum queries (RMQs): given an array A[1..n] of distinct totally ordered values, to pre-process A and create a data structure that can answer the query RMQ(i,j), which returns the index containing…

数据结构与算法 · 计算机科学 2013-11-19 Pooya Davoodi , Gonzalo Navarro , Rajeev Raman , S. Srinivasa Rao

Given an integer array $A[1..n]$, the Range Minimum Query problem (RMQ) asks to preprocess $A$ into a data structure, supporting RMQ queries: given $a,b\in [1,n]$, return the index $i\in[a,b]$ that minimizes $A[i]$, i.e.,…

数据结构与算法 · 计算机科学 2021-11-05 Mingmou Liu , Huacheng Yu

Given an array of distinct integers $A[1\ldots n]$, the Range Minimum Query (RMQ) problem requires us to construct a data structure from $A$, supporting the RMQ query: given an interval $[a,b]\subseteq[1,n]$, return the index of the minimum…

数据结构与算法 · 计算机科学 2022-02-10 Mingmou Liu

Given an array $a[1..n]$, the Range Minimum Query (RMQ) problem is to maintain a data structure that supports RMQ queries: given a range $[l, r]$, find the index of the minimum element among $a[l..r]$, i.e., $\operatorname{argmin}_{i \in…

量子物理 · 物理学 2026-01-23 Qisheng Wang , Zhean Xu , Zhicheng Zhang

For a static array A of n ordered objects, a range minimum query asks for the position of the minimum between two specified array indices. We show how to preprocess A into a scheme of size 2n+o(n) bits that allows to answer range minimum…

数据结构与算法 · 计算机科学 2009-12-02 Johannes Fischer

Given a string $S$ of $n$ integers in $[0,\sigma)$, a range minimum query RMQ$(i, j)$ asks for the index of the smallest integer in $S[i \dots j]$. It is well known that the problem can be solved with a succinct data structure of size $2n +…

数据结构与算法 · 计算机科学 2019-05-30 Paweł Gawrychowski , Seungbum Jo , Shay Mozes , Oren Weimann

We consider the problem of computing a sequence of range minimum queries. We assume a sequence of commands that contains values and queries. Our goal is to quickly determine the minimum value that exists between the current position and a…

数据结构与算法 · 计算机科学 2021-02-19 Luís M. S. Russo

The range-minimum query (RMQ) problem is a fundamental data structuring task with numerous applications. Despite the fact that succinct solutions with worst-case optimal $2n+o(n)$ bits of space and constant query time are known, it has been…

数据结构与算法 · 计算机科学 2019-03-07 J. Ian Munro , Sebastian Wild

Range minimum queries (RMQs) are fundamental operations with widespread applications in database management, text indexing and computational biology. While many space-efficient data structures have been designed for RMQs on arrays with…

数据结构与算法 · 计算机科学 2026-04-16 Seungbum Jo , Srinivasa Rao Satti

Neural models for question answering (QA) over documents have achieved significant performance improvements. Although effective, these models do not scale to large corpora due to their complex modeling of interactions between the document…

计算与语言 · 计算机科学 2018-05-22 Sewon Min , Victor Zhong , Richard Socher , Caiming Xiong

We revisit the range minimum query problem and present a new O(n)-space data structure that supports queries in O(1) time. Although previous data structures exist whose asymptotic bounds match ours, our goal is to introduce a new solution…

数据结构与算法 · 计算机科学 2011-09-22 Stephane Durocher

Range aggregate queries (RAQs) are an integral part of many real-world applications, where, often, fast and approximate answers for the queries are desired. Recent work has studied answering RAQs using machine learning (ML) models, where a…

数据库 · 计算机科学 2023-04-11 Sepanta Zeighami , Cyrus Shahabi , Vatsal Sharan

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…

数据结构与算法 · 计算机科学 2025-04-22 Waseem Akram , Sanjeev Saxena

We consider encoding problems for range queries on arrays. In these problems the goal is to store a structure capable of recovering the answer to all queries that occupies the information theoretic minimum space possible, to within lower…

数据结构与算法 · 计算机科学 2015-06-16 Pawel Gawrychowski , Patrick K. Nicholson

We consider the \emph{two-dimensional range maximum query (2D-RMQ)} problem: given an array $A$ of ordered values, to pre-process it so that we can find the position of the smallest element in the sub-matrix defined by a (user-specified)…

数据结构与算法 · 计算机科学 2012-04-26 Mordecai J. Golin , John Iacono , Danny Krizanc , Rajeev Raman , S. Srinivasa Rao , Sunil Shende

The rank problem in succinct data structures asks to preprocess an array A[1..n] of bits into a data structure using as close to n bits as possible, and answer queries of the form rank(k) = Sum_{i=1}^k A[i]. The problem has been intensely…

数据结构与算法 · 计算机科学 2009-07-08 Mihai Patrascu

Given an array A of $n$ elements, we wish to support queries for the most frequent and least frequent element in a subrange $[l, r]$ of $A$. We also wish to support updates that change a particular element at index $i$ or insert/ delete an…

数据结构与算法 · 计算机科学 2018-07-12 Hicham El-Zein , Meng He , J. Ian Munro , Bryce Sandlund

Information needs are naturally represented as questions. Automatic Natural-Language Question Answering (NLQA) has only recently become a practical task on a larger scale and without domain constraints. This paper gives a brief introduction…

计算与语言 · 计算机科学 2007-05-23 Jochen L. Leidner
‹ 上一页 1 2 3 10 下一页 ›