Faster range minimum queries
Tomasz Kowalski, Szymon Grabowski

TL;DR
This paper introduces a simple, fast-to-construct data structure for Range Minimum Queries that performs well in offline scenarios, combining it with existing solutions to achieve efficient, memory-efficient RMQ handling.
Contribution
The paper presents a new simple data structure for RMQ with fast construction and average constant query time, and combines it with existing solutions for improved performance and memory efficiency.
Findings
The proposed BbST variants are competitive with existing solutions.
The hybrid approach achieves efficient query times for wide ranges.
The data structure is memory frugal, using about 3n bits.
Abstract
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 queries, practical performance and construction time also matter. Additionally, there are offline scenarios in which the number of queries, , is rather small and given beforehand, which encourages to use a simpler approach. In this work, we present a simple data structure, with very fast construction, which allows to handle queries in constant time on average. This algorithm, however, requires access to the input data during queries (which is not the case of sophisticated RMQ solutions). We subsequently refine our technique, combining it with one of the existing succinct solutions with worst-case time queries and no access to the input…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
