in Algorithms edited by
342 views
1 vote
1 vote

A) S1 only

B) S1 and S2 only

C) S1 and S3 only

D) All statements are true.

in Algorithms edited by
342 views

3 Comments

C) S1 and S3 must be true.

S2 might be true.

0
0
pls explain your solution in detail.
0
0
In DFS

to push a,b from start vertex s. they should be neighbor of s.

Now to present a & b simultaneously into the stack, there should be at least one edge between both of them.
1
1

Please log in or register to answer this question.

Related questions