✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Shortest paths with negative weights
Dijkstra's algorithm can return a wrong answer on a graph that has negative edge weights. What exactly goes wrong?