The Algorithm

Dijkstra’s algorithm is one of the most common solutions to this problem. Even so, it only works on graphs which have no edges of negative weight, and the actual speed of the algorithm can vary from O(n*lg(lgno)) to O(n2).

這個資源應顯示在彈出視窗
如果未生效,請點選這裡: Dijkstra's Algorithm - Concept and Coding