Question 31
When using Dijkstra’s algorithm to find shortest path in a graph, which of the following statement is not true?
It can find shortest path within the same graph data structure
Every time a new node is visited, we choose the node with smallest known distance/cost (weight) to visit first
Shortest path always passes through least number of vertices
The graph needs to have a non-negative weight on every edge