English

Improved 3-pass Algorithm for Counting 4-cycles in Arbitrary Order Streaming

Data Structures and Algorithms 2020-07-28 v1

Abstract

The problem of counting small subgraphs, and specifically cycles, in the streaming model received a lot of attention over the past few years. In this paper, we consider arbitrary order insertion-only streams, improving over the state-of-the-art result on counting 4-cycles. Our algorithm computes a (1+ϵ)(1+\epsilon)-approximation by taking three passes over the stream and using space O(mlognϵ2T1/3)O(\frac{m \log n}{\epsilon^2 T^{1/3}}), where mm is the number of edges in the graph and TT is the number of 4-cycles.

Keywords

Cite

@article{arxiv.2007.13466,
  title  = {Improved 3-pass Algorithm for Counting 4-cycles in Arbitrary Order Streaming},
  author = {Sofya Vorotnikova},
  journal= {arXiv preprint arXiv:2007.13466},
  year   = {2020}
}
R2 v1 2026-06-23T17:25:40.234Z