Question

Which of the following traversal algorithms is guaranteed to visit all vertices in the minimum number of edges in an unweighted graph?

A Depth-First Search (DFS)
B Breadth-First Search (BFS)
C Dijkstra’s Algorithm
D Prim’s Algorithm
E Bellman-Ford Algorithm
Practice Next

Hey! Ask a query