Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Searching
• DFS Search
How can DFS be adapted to search for a specific target vertex in a graph?
A
By exploring all vertices at the same depth first
B
By terminating the DFS exploration early once the target vertex is found along the current path
C
By using a queue instead of a stack
D
By sorting edges first