[Solved] The BFS traversal Contest Problem
The BFS traversal: You are given a graph G with edges E. You have to perform BFS on this graph. Note: Perform BFS in the order the elements appear in the adjacency list (left to right). The BFS traversal Contest Problem Input Format:The first…