
TL;DR
This paper introduces a space-efficient data structure for range minimum queries that operates in constant or near-constant time, suitable for both online and offline scenarios, with practical implementation showing competitive performance.
Contribution
The paper presents a novel minimal-space data structure for range minimum queries with optimal query times for online and offline processing, improving efficiency and space usage.
Findings
Achieves O(1) query time offline
Achieves O(α(n)) amortized online query time
Uses minimal space proportional to active positions
Abstract
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 previous position . Range minimum queries are used as a sub-routine of several algorithms, namely related to string processing. We propose a data structure that can process these commands sequences. We obtain efficient results for several variations of the problem, in particular we obtain time per command for the offline version and amortized time for the online version, where is the inverse Ackermann function and the number of values in the sequence. This data structure also has very small space requirements, namely where is the maximum number active positions. We implemented our data…
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.
