Search arXiv⌕ Search

arXiv subjects

Francesco Damiano Di Gregorio

Publications and source records attributed to Francesco Damiano Di Gregorio.

2 recordsLinked to original sources

Beyond the Quadratic Barrier for Multidimensional Grid Range Problems

We give truly subquadratic algorithms for two-dimensional Grid Range problems with sum queries and non-distributive updates. For chmax updates, we obtain deterministic $N^{22/13+o(1)}$ offline time under a square matrix multiplication exponent of $9/4$, and $\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-\sqrt{19})/12+o(1)}$ offline time under an explicit rectangular arithmetic assumption, and $\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 $\widetilde{O}(N^{(d+1)/2})$ time for static sums with additions and assignments.

cs.DS↗

Deterministic algorithms for range LIS and its relatives

We give deterministic algorithms for range longest increasing subsequence (LIS) on a sequence of length n and a batch of Q queries. Write N = n + Q and let K denote the total output size. Two-dimensional range LIS admits reporting in O((N + K) log^3(2 + n)) time by composing earliest-endpoint frontiers using totally monotone matrix search. For colored one-dimensional range LIS, compressed hitting sets and monotone min-plus multiplication give $N^{5-\sqrt{13}+o(1)}$ time for the score and attaining color, and $N^{18/13+o(1)} + \tilde{O}(K)$ time for reporting. A persistent range oracle gives exact colored and weighted rectangle queries in $\tilde{O}(n\sqrt{Q} + Q) + O(K)$ time. We also obtain a weighted approximation algorithm, algorithms for ordered fragments and tree paths, and reductions relating colored LIS to sparse triangle and masked max-plus problems.

cs.DS↗