Search arXiv⌕ Search

arXiv subjects

Filippo di Gravina

Publications and source records attributed to Filippo di Gravina.

3 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↗

Batch range mode in O(n+Q)^1.395

We give a deterministic worst-case algorithm for exact Batched Range Mode on an arbitrary array of length n and a batch of Q intervals. The algorithm returns the mode frequency and the smallest mode identifier for each query in time (n+Q)^(tau+o(1)), where tau = 5 - sqrt(13) = 1.394448724536... . The algorithm combines virtual occurrence windows and block-boundary snapping with a query-restricted min-plus product whose first operand is column-monotone and whose second operand is row-monotone. A deterministic modular verifier uses geometric and query potentials to bound the same active regions; false modular matches are corrected by offline orthogonal range updates. The final analysis uses the sharper rectangular exponent curve of Uznanski (2026), together with exact rational parameter balancing and a transfer to prime fields. The analysis covers every frequency scale and arbitrary batch sizes. Exact frequencies and the smallest mode identifiers are recovered without increasing the exponent.

cs.DS↗