mgechev/javascript-algorithms

Dijkstra implementation is not correct

thunderrun opened this issue · 0 comments

In example go with dijkstra(0, 4, distMatrix) and get the result 26.

However the correct distance is 20 (path 0->2->5->4)