You are viewing a single comment's thread. Return to all comments →
why in this example "1" to "4" is -1? shouldn't it be 12 since "1" -> "2" -> "4"? 4 2 1 2 1 3 1
Seems like cookies are disabled on this browser, please enable them to open this website
BFS: Shortest Reach in a Graph
You are viewing a single comment's thread. Return to all comments →
why in this example "1" to "4" is -1? shouldn't it be 12 since "1" -> "2" -> "4"? 4 2 1 2 1 3 1