paper

Near-Optimal and Efficient Encoding for Two-Dimensional Range Minimum Queries

arXiv:2607.04509

Abstract

We consider the 2D RMQ encoding problem: given an array of elements over a total order, encode it such that, for any query rectangle, the position of its maximum element can be reported without accessing the original array. For , it is known how to encode the array in bits with -time queries [Brodal et al., Algorithmica 2012], and also how to obtain an asymptotically optimal encoding consisting of bits [Brodal et al., ESA 2013]. However, the latter approach does not prove any guarantee on the query time, and it appears to be inherently sequential: it requires scanning the whole encoding to answer a query. We design a different encoding that uses near-optimal space while allowing for efficient queries. More concretely, for every parameter , our encoding uses bits and answers 2D RMQ queries in time.

to appear in ESA 2026

Near-Optimal and Efficient Encoding for Two-Dimensional Range Minimum Queries · wovepaper