Statement (i) is true.
(i) No edges of G is a cross edge with respect to TD.
Data Structures and Algorithms MCQ - Graph Algorithm
In DFS if ‘v’ is visited after ‘u’ then one of the
following is true.
(i) if (u, v) is an edge
(ii) if ‘u’ is x leaf node

(ii) if ‘u’ is x leaf node

(1) a b e g h f
(3) a b f h g e
(4) a f g h b e is possible DFS of given graph.
If n vertex and K edges are there then the number
of connected component in the graph is n – K.
For the above graph, conducting depth First
scarch:
Stack : A
Stack : DBC Tree : A
Stack : EBC Tree : A / D
Stack : BC Tree : A / D / E
Stack : BC
Stack : Φ Tree :
Considering l eaf nodes E and C, t he gi ven
condition is satisfied as their degrees are more
than one. But none of (A), (B) or (C) hold.
But a cycle consisting of E and all its neighbour hold.

