You are viewing a single comment's thread. Return to all comments →
What did the trick for me was reading this:
"If there are edges between the same pair of nodes with different weights, they are to be considered as is, like multiple edges."
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Dijkstra: Shortest Reach 2
You are viewing a single comment's thread. Return to all comments →
What did the trick for me was reading this:
"If there are edges between the same pair of nodes with different weights, they are to be considered as is, like multiple edges."