English

Nearly Work-Efficient Parallel DFS in Undirected Graphs

Data Structures and Algorithms 2023-04-20 v1 Distributed, Parallel, and Cluster Computing

Abstract

We present the first parallel depth-first search algorithm for undirected graphs that has near-linear work and sublinear depth. Concretely, in any nn-node mm-edge undirected graph, our algorithm computes a DFS in O~(n)\tilde{O}(\sqrt{n}) depth and using O~(m+n)\tilde{O}(m+n) work. All prior work either required Ω(n)\Omega(n) depth, and thus were essentially sequential, or needed a high poly(n)poly(n) work and thus were far from being work-efficient.

Keywords

Cite

@article{arxiv.2304.09774,
  title  = {Nearly Work-Efficient Parallel DFS in Undirected Graphs},
  author = {Mohsen Ghaffari and Christoph Grunau and Jiahao Qu},
  journal= {arXiv preprint arXiv:2304.09774},
  year   = {2023}
}

Comments

Appears at SPAA'23

R2 v1 2026-06-28T10:11:16.139Z