English

Near-Optimal Four-Cycle Counting in Graph Streams

Data Structures and Algorithms 2026-04-02 v1

Abstract

We study four-cycle counting in arbitrary order graph streams. We present a 3-pass algorithm for (1+ε)(1+\varepsilon)-approximating the number of four-cycles using O~(m/T)\widetilde{O}(m/\sqrt{T}) space, where mm is the number of edges and TT the number of four-cycles in the graph. This improves upon a 3-pass algorithm by Vorotnikova using space O~(m/T1/3)\widetilde{O}(m/T^{1/3}) and matches a multi-pass lower bound of Ω(m/T)\Omega(m/\sqrt{T}) by McGregor and Vorotnikova.

Keywords

Cite

@article{arxiv.2604.00828,
  title  = {Near-Optimal Four-Cycle Counting in Graph Streams},
  author = {Sebastian Lüderssen and Stefan Neumann and Pan Peng},
  journal= {arXiv preprint arXiv:2604.00828},
  year   = {2026}
}

Comments

SODA 2026

R2 v1 2026-07-01T11:48:09.056Z