Space-efficient Data Structure for Next/Previous Larger/Smaller Value Queries
Seungbum Jo, Geunho Kim

TL;DR
This paper introduces a space-efficient data structure that supports a wide range of next/previous larger/smaller value queries in arrays, achieving near-optimal space and fast query times in the encoding model.
Contribution
It presents a new $(3.701n + o(n))$-bit data structure supporting multiple queries efficiently, matching the best known space bounds and extending previous lower bounds.
Findings
Supports all queries in $O( ext{log}^{(ell)} n)$ time.
Uses $(3.701n + o(n))$ bits, matching the best known upper bounds.
Establishes a lower bound of $3.16n - heta( ext{log} n)$ bits for these queries.
Abstract
Given an array of size from a total order, we consider the problem of constructing a data structure that supports various queries (range minimum/maximum queries with their variants and next/previous larger/smaller queries) efficiently. In the encoding model (i.e., the queries can be answered without the input array), we propose a -bit data structure, which supports all these queries in time, for any positive constant integer (here, , and for , ). The space of our data structure matches the current best upper bound of Tsur (Inf. Process. Lett., 2019), which does not support the queries efficiently. Also, we show that at least bits are necessary for answering all the queries. Our result is obtained by generalizing Gawrychowski and…
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.
Taxonomy
TopicsAlgorithms and Data Compression · Error Correcting Code Techniques · DNA and Biological Computing
