Skip to content

A Space Separation for Single-Pass DFS Trees in Insertion-Only and Turnstile Streams

Tsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen

cs.DS

Abstract

We establish a separation between insertion-only and turnstile streams for constructing a depth-first search (DFS) tree of an nn-vertex undirected graph in a single pass. In insertion-only streams, a deterministic algorithm uses O(n3/2log⁡n)O(n^{3/2}\log n) bits, whereas in turnstile streams, Ω(n2)Ω(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 nn. The lower bound follows from a reduction from approximating minimum vertex cover.

Create a lesson