top | item 40050919

(no title)

61u | 1 year ago

You could just run bfs from both starting and ending nodes until you find a node reachable from both the starting and ending nodes.

discuss

order