We establish a separation between insertion-only and turnstile streams for constructing a depth-first search (DFS) tree of an $n$-vertex undirected graph in a single pass. In insertion-only streams, a deterministic algorithm uses $O(n^{3/2}\log n)$ bits, whereas in turnstile streams, $Ω(n^2)$ bits are necessary even for randomized algorithms with sufficiently small constant error. The upper bound uses a tight extremal bound for ladders whose length grows with $n$. The lower bound follows from a reduction from approximating minimum vertex cover.
翻译:暂无翻译