Why does Dijkstra's Algorithm fail on negative weights?

Опубликовано: 13 Март 2026
на канале: Computer Psychology - Joy Liu
4,599
17

"Recall that in Dijkstra's algorithm, once a vertex is marked as "closed" (and out of the open set) - the algorithm found the shortest path to it, and will never have to develop this node again - it assumes the path developed to this path is the shortest."--stackoverflow

https://stackoverflow.com/questions/1....

Song: Firefly
Artist: Chris Haugen
Licensed to YouTube by
YouTube Audio Library; BMI - Broadcast Music Inc.