Page 1 of 1

Which of the following is a possible result of depth first traversal of the given graph(consider 1 to be source element)

Posted: Wed Jul 13, 2022 6:16 pm
by answerhappygod
a) 1 2 3 4 5
b) 1 2 3 1 4 5
c) 1 4 5 3 2
d) 1 4 5 1 2 3