Breadth First Search: Shortest Reach

  • + 12 comments

    Why don't the problem setter wrote that the graph is undirected!!! cost me 2 WA's :(