Question: You run DFS on a directed graph G = ( V , E ) and have access to the pre and post label of each
You run DFS on a directed graph GVE and have access to the pre and post label of each vertex. Check ALL statements that are always true
uv is a tree edge if and only if preuprev
u u is a back edge if and only if postupostv
Your are further given that G is strongly connected. Then there is a
vertex u such that preu and postun
One can classify the edge uv as tree edge, forward edge, back edge, or cross edge once we know the numbers preu postu prev postv
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
