Given an undirected graph and a tree(represented as a parent array), how can you determine if the given tree can be generated by applying Breadth-First Search on the given graph? Are there specific properties of BFS traversal that can be used to identify contradictions?
New contributor