2020
Hackerrank Breadth First Search: Shortest Reach Solution
Consider an undirected graph where each edge is the same weight. Each of the nodes is labeled consecutively. You will be given a number of queries. For each query, you will be given a list of edges describing an…