Question: Run Dijkstra's algorithm on the graph below and use the resulting shortest paths tree to answer the following questions. You don't need to include the

Run Dijkstra's algorithm on the graph below and use the resulting shortest paths tree to answer the following questions. You don't need to include the traversal process in your video, but you should include the resulting shortest paths tree. 1. Which edge, if replaced with the weight -100, would cause Dijkstra's algorithm to compute an incorrect shortest paths tree from A ? 2. Explain in your own words why Dijkstra's algorithm might not work if there are negative edge weights in the graph. 3. True or false: If the only negative-weight edges is directed graph are outgoing edges from the start then Dijkstra's algorithm will compute a correct s paths tree. Assume that the start node is not part of a cycle. Explain your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
