use depth first search to find a spanning tree for thegraph with Portland as the root vertex, show all steps
#8-9: The graph below is the Amtrak northeast route. Portland Albany-Rennselaer Toronto Boston Springfield Buffalo New Haven Cleveland New York Pittsburgh Philidelphica Washington DC Show transcribed image text #8-9: The graph below is the Amtrak northeast route. Portland Albany-Rennselaer Toronto Boston Springfield Buffalo New Haven Cleveland New York Pittsburgh Philidelphica Washington DC
Solution
For spanning tree:-
First remove any loop
OR
OR