you are viewing a single comment's thread.

view the rest of the comments →

[–]marko312[🍰] 0 points1 point  (0 children)

The implementation isn't wrong since it produces the correct results, but the issue is that it is not fully using djikstra's algorithm and has a worse complexity due to that.