Examveda

What is the running time of an unweighted shortest path algorithm whose augmenting path is the path with the least number of edges?

A. O(|E||V|)

B. O(|E|)

C. O(|E| log |V|)

D. O(|E|2|V|)

Answer: Option D


Join The Discussion

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