1.

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

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
Answer» B. 1 2 3 1 4 5


Discussion

No Comment Found