Question: Consider a rooted, connected graph G = (V, E), and a vertex u element of V. Let TB be a BFS tree of G rooted

Consider a rooted, connected graph G = (V, E), and a vertex u element of V. Let TB be a BFS tree of G rooted at u, and let TD be a DFS tree of G rooted at u. Prove that if TB = TD, then G is a tree
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
