2019
DOI: 10.1007/s00453-019-00629-x
|View full text |Cite
|
Sign up to set email alerts
|

Space-Efficient DFS and Applications to Connectivity Problems: Simpler, Leaner, Faster

Abstract: The problem of space-efficient depth-first search (DFS) is reconsidered. A particularly simple and fast algorithm is presented that, on a directed or undirected input graph G = (V, E) with n vertices and m edges, carries out a DFS in O(n + m) timeA slightly more complicated variant of the algorithm works in the same time with at most n + (4/5)m + O(log n) bits. It is also shown that a DFS can be carried out in a graph with n vertices and m edges in O(n + m log * n) time with O(n) bits or in O(n + m) time with … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
4
0

Year Published

2019
2019
2024
2024

Publication Types

Select...
4
3
1
1

Relationship

1
8

Authors

Journals

citations
Cited by 12 publications
(4 citation statements)
references
References 21 publications
0
4
0
Order By: Relevance
“…There has been quite a bit of additional work on reducing the extra space needed to run depth-first search. See Hagerup [Hag20] and the references therein. Most of these results make more assumptions about the way the input graph is represented.…”
Section: Non-recursive Depth-first Searchmentioning
confidence: 99%
“…There has been quite a bit of additional work on reducing the extra space needed to run depth-first search. See Hagerup [Hag20] and the references therein. Most of these results make more assumptions about the way the input graph is represented.…”
Section: Non-recursive Depth-first Searchmentioning
confidence: 99%
“…Recently, Hagerup [20] claimed an algorithm that finds Dfs in O(m log * n + n) time using O(n) bits of space. We improve upon this algorithm giving a near optimal running time for Dfs -it is almost linear in m + n. Our result can be succinctly stated as follows:…”
Section: Dfs Problemmentioning
confidence: 99%
“…Many graphs that arise in real-world application are very large. This has given rise to an area of research with the aim of reducing the required space [1,7,8,12,14,19]. Practical examples include large road-networks [26] or social-network graphs [10].…”
Section: Introductionmentioning
confidence: 99%