paper

An Optimal Algorithm for Triangle Counting in the Stream

arXiv:2105.01785

Abstract

We present a new algorithm for approximating the number of triangles in a graph whose edges arrive as an arbitrary order stream. If is the number of edges in , the number of triangles, the maximum number of triangles which share a single edge, and the maximum number of triangles which share a single vertex, then our algorithm requires space: \[ \widetilde{O}\left(\frac{m}{T}\cdot \left(Δ_E + \sqrt{Δ_V}\right)\right) \] Taken with the lower bound of Braverman, Ostrovsky, and Vilenchik (ICALP 2013), and the lower bound of Kallaugher and Price (SODA 2017), our algorithm is optimal up to log factors, resolving the complexity of a classic problem in graph streaming.

Title changed and some minor edits

An Optimal Algorithm for Triangle Counting in the Stream · wovepaper