Examveda

What is the primary characteristic of a graph traversal algorithm like BFS or DFS?

A. It detects cycles in a graph.

B. It finds the minimum spanning tree.

C. It visits all nodes in a specific order.

D. It calculates the shortest path.

Answer: Option C


Join The Discussion

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