English

Asymptotically faster algorithms for recognizing $(k,\ell)$-sparse graphs

Data Structures and Algorithms 2026-04-15 v1 Discrete Mathematics Combinatorics

Abstract

The family of (k,)(k,\ell)-sparse graphs, introduced by Lorea, plays a central role in combinatorial optimization and has a wide range of applications, particularly in rigidity theory. A key algorithmic problem is to decide whether a given graph is (k,)(k,\ell)-sparse and, if not, to produce a vertex set certifying the failure of sparsity. While pebble game algorithms have long yielded O(n2)O(n^2)-time recognition throughout the classical range 0<2k0 \leq \ell < 2k, and O(n3)O(n^3)-time algorithms in the extended range 2k<3k2k \leq \ell < 3k, substantially faster bounds were previously known only in a few special cases. We present new recognition algorithms for the parameter ranges 0k0 \le \ell \le k, k<<2kk < \ell < 2k, and 2k<3k2k \leq \ell < 3k. Our approach combines bounded-indegree orientations, reductions to rooted arc-connectivity, augmenting-path techniques, and a divide-and-conquer method based on centroid decomposition. This yields the first subquadratic, and in fact near-linear-time, recognition algorithms throughout the classical range when instantiated with the fastest currently available subroutines. Under purely combinatorial implementations, the running times become O(nn)O(n\sqrt n) for 0k0 \leq \ell \leq k and O(nnlogn)O(n\sqrt{n\log n}) for k<<2kk< \ell <2k. For 2k<3k2k \leq \ell < 3k, we obtain an O(n2)O(n^2)-time algorithm when 2k+1\ell \leq 2k+1 and an O(n2logn)O(n^2\log n)-time algorithm otherwise. In each case, the algorithm can also return an explicit violating set certifying that the input graph is not (k,)(k,\ell)-sparse.

Keywords

Cite

@article{arxiv.2604.13025,
  title  = {Asymptotically faster algorithms for recognizing $(k,\ell)$-sparse graphs},
  author = {Bence Deák and Péter Madarasi},
  journal= {arXiv preprint arXiv:2604.13025},
  year   = {2026}
}
R2 v1 2026-07-01T12:09:19.708Z