Skip to content

Beyond the Quadratic Barrier for Multidimensional Grid Range Problems

Filippo di Gravina, Francesco Damiano Di Gregorio

cs.DS

Abstract

We give truly subquadratic algorithms for two-dimensional Grid Range problems with sum queries and non-distributive updates. For chmax updates, we obtain deterministic N22/13+o(1)N^{22/13+o(1)} offline time under a square matrix multiplication exponent of 9/49/4, and O~(N7/4)\widetilde{O}(N^{7/4}) combinatorial time even online, addressing an open problem of Lau and Ritossa (ITCS 2021). For mixed additions and assignments we obtain N(25−19)/12+o(1)N^{(25-\sqrt{19})/12+o(1)} offline time under an explicit rectangular arithmetic assumption, and O~(N7/4)\widetilde{O}(N^{7/4}) combinatorially. The common technique is to compress local histories in a spatial partition rather than materialize full-cover updates. The resulting trellised problems are equivalent to weighted masked products of two and three sparse matrices, respectively. We also obtain a matching conditional online local lower bound, a fixed-dimensional static maximum-query classification, and O~(N(d+1)/2)\widetilde{O}(N^{(d+1)/2}) time for static sums with additions and assignments.

Create a lesson

Metadata

Comments
13 pages, 2 figures