Which of the following scenarios would require the use of an alternative to Dijkstra's algorithm?
-
Finding the shortest path in a road network
-
Calculating the shortest path in a graph with negative weights
-
Finding the shortest path in a weighted graph
-
Finding the shortest path in a tree structure