https://github.com/kgashok/HackerRank/blob/master/Algorithms/Graph%20Theory/Breadth%20First%20Search:%20Shortest%20Reach/main.cpp Not useful at all. But this can also be refactored to a better OOP version