You are viewing a single comment's thread. Return to all comments →
cool! you use distances as indicator for node that has been visited which makes the code more compact.
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 →
cool! you use distances as indicator for node that has been visited which makes the code more compact.