Improved 3-pass Algorithm for Counting 4-cycles in Arbitrary Order Streaming
arXiv:2007.13466
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 -approximation by taking three passes over the stream and using space , where is the number of edges in the graph and is the number of 4-cycles.