An Optimal Algorithm for Triangle Counting in the Stream

Abstract

We present a new algorithm for approximating the number of triangles in a graph G whose edges arrive as an arbitrary order stream. If m is the number of edges in G, T the number of triangles, E the maximum number of triangles which share a single edge, and V the maximum number of triangles which share a single vertex, then our algorithm requires space: \[ O(mT· (E + V)) \] Taken with the (m ET) lower bound of Braverman, Ostrovsky, and Vilenchik (ICALP 2013), and the ( m VT) 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…