Examveda

A person wants to visit some places. He starts from a vertex and then wants to visit every place connected to this vertex and so on. What algorithm he should use?

A. Depth First Search

B. Breadth First Search

C. Trim's algorithm

D. Kruskal's algorithm

Answer: Option B


Join The Discussion

Related Questions on Graph Algorithms (DFS, BFS, Dijkstras, etc)