retagged by
404 views

1 Answer

0 votes
0 votes
D, because it is dfs and only one component so whichever first visited should finish last, and whichever visited second should finish in second last and so on.

Hence D is right answer

Related questions

1 votes
1 votes
0 answers
2
5 votes
5 votes
1 answer
3
manvi_agarwal asked Sep 15, 2018
2,564 views
Also let me know the approach to find back edges, cross edges, forward edges,How to solve these questions
1 votes
1 votes
1 answer
4