Q5 (5 points) We know how to use Dijkstra's algorithm to determine all shortest paths from a selected vertex v in a conn
Posted: Sat Nov 27, 2021 2:21 pm
Q5 (5 points) We know how to use Dijkstra's algorithm to determine all shortest paths from a selected vertex v in a connected edge weighted graph G. Consider a connected edge weighted graph where all edge weights have weight 1. To determine all shortest paths from a selected vertex u in such a graph, why can we, instead of Dijkstra's algorithm, also use a BFS traversal? You may use an example to explain your answer. .