Breadth First Search: Shortest Reach

  • + 21 comments

    My solution couldn't pass many of the test cases because I was not prining a new line at the end! The solution got accepted afte I added System.out.println() at the end!