891 views
0 votes
0 votes

Consider the following sequence of nodes for the undirected graph given below$:$

$(1)PQSTWVUR$
$(2)PQRSTUWV$
$(3)PQRTUSVW$
A Depth First Search (DFS) is started at node $P.$The nodes are listed in the order they are first visited.
Which all of the above are possible outputs$?$
$A)Only (2)$
$B)(1) and (2)$
$C)(2) and (3)$
$D)(1) and (2)$

Please log in or register to answer this question.

Related questions

769
views
1 answers
4 votes
budhu asked Jan 25, 2018
769 views
796
views
1 answers
1 votes
313
views
0 answers
0 votes
saumya mishra asked Sep 25, 2017
313 views
What is the correct answer please provide with reason?