Fast Breadth-First Search in Still Less Space
Abstract
It is shown that a breadth-first search in a directed or undirected graph with $n$ vertices and $m$ edges can be carried out in $O(n+m)$ time with $n\log_2 3+O((\log n)^2)$ bits of working memory.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2018
- DOI:
- 10.48550/arXiv.1812.10950
- arXiv:
- arXiv:1812.10950
- Bibcode:
- 2018arXiv181210950H
- Keywords:
-
- Computer Science - Data Structures and Algorithms