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
• BFS Search
How can BFS be adapted to search for a specific target vertex in a graph?
A
By reversing the graph first
B
By terminating the BFS traversal early once the target vertex is dequeued or discovered
C
By sorting all vertices
D
By only exploring the deepest vertices