Paper record

W2007791040

Space-Efficient Preprocessing Schemes for Range Minimum Queries on Static Arrays

Johannes Fischer, Volker Heun

Year
2011
Venue
SIAM Journal on Computing
References
67
Cited by
299

Details and counts from OpenAlex.

Abstract

Given a static array of n totally ordered objects, the range minimum query problem is to build a data structure that allows us to answer efficiently subsequent on-line queries of the form “what is the position of a minimum element in the subarray ranging from i to j?”. We focus on two settings, where (1) the input array is available at query time, and (2) the input array is available only at construction time. In setting (1), we show new data structures (a) of size 2nc(n)−Θ(nlg⁡lg⁡nc(n)lg⁡n)\frac{2n}{c(n)}-\Theta\bigl(\frac{n\lg\lg n}{c(n)\lg n}\bigr) bits and query time O(c(n))O(c(n)) for any positive integer function c(n)∈O(nε)c(n)\in O\bigl(n^\varepsilon\bigr) for an arbitrary constant 0<ε<10<\varepsilon<1, or (b) with O(nHk)+o(n)O(nH_k)+o(n) bits and O(1)O(1) query time, where HkH_k denotes the empirical entropy of kth order of the input array. In setting (2), we give a data structure of size 2n+o(n)2n+o(n) bits and query time O(1)O(1). All data structures can be constructed in linear time and almost in-place.