Abstract
We present an optimal data structure for submatrix maximum queries in n× n Monge matrices. Our result is a two-way reduction showing that the problem is equivalent to the classical predecessor problem in a universe of polynomial size. This gives a data structure of O(n) space that answers submatrix maximum queries in O(log log n) time, as well as a matching lower bound, showing that O(log log n) query-time is optimal for any data structure of size O(npolylog(n)). Our result settles the problem, improving on the O(log2 n) query time in SODA'12, and on the O(log n) query-time in ICALP'14. In addition, we show that partial Monge matrices can be handled in the same bounds as full Monge matrices. In both previous results, partial Monge matrices incurred additional inverse-Ackermann factors.
Original language | English |
---|---|
Article number | 16 |
Journal | ACM Transactions on Algorithms |
Volume | 16 |
Issue number | 2 |
DOIs | |
State | Published - Apr 2020 |
Bibliographical note
Publisher Copyright:© 2020 ACM.
Keywords
- Monge matrix
- predecessor search
- range queries
ASJC Scopus subject areas
- Mathematics (miscellaneous)