Improved Submatrix Maximum Queries in Monge Matrices
Abstract
We present efficient data structures for submatrix maximum queries in Monge matrices and Monge partial matrices. For Monge matrices, we give a data structure that requires O(n) space and answers submatrix maximum queries in time. The best previous data structure [Kaplan et al., SODA`12] required space and query time. We also give an alternative data structure with constant query-time and construction time and space for any fixed . For {\em partial} Monge matrices we obtain a data structure with O(n) space and query time. The data structure of Kaplan et al. required space and query time. Our improvements are enabled by a technique for exploiting the structure of the upper envelope of Monge matrices to efficiently report column maxima in skewed rectangular Monge matrices. We hope this technique can be useful in obtaining faster search algorithms in Monge partial matrices. In addition, we give a linear upper bound on the number of breakpoints in the upper envelope of a Monge partial matrix. This shows that the inverse Ackermann term in the analysis of the data structure of Kaplan et. al is superfluous.
Cite
@article{arxiv.1307.2313,
title = {Improved Submatrix Maximum Queries in Monge Matrices},
author = {Pawel Gawrychowski and Shay Mozes and Oren Weimann},
journal= {arXiv preprint arXiv:1307.2313},
year = {2017}
}
Comments
Appeared in ICALP 2014