English

Fast Breadth-First Search in Still Less Space

Data Structures and Algorithms 2019-02-18 v2

Abstract

It is shown that a breadth-first search in a directed or undirected graph with nn vertices and mm edges can be carried out in O(n+m)O(n+m) time with nlog23+O((logn)2)n\log_2 3+O((\log n)^2) bits of working memory.

Keywords

Cite

@article{arxiv.1812.10950,
  title  = {Fast Breadth-First Search in Still Less Space},
  author = {Torben Hagerup},
  journal= {arXiv preprint arXiv:1812.10950},
  year   = {2019}
}
R2 v1 2026-06-23T06:57:49.117Z