edited by
820 views
1 votes
1 votes

Here i have option III is doubt.how option III always correct.one counter example is if i choose a tree where s is root node and v1& v2 are its child node then above question property i.e the vertices V1 and V2 that are simultaneously on the function call stack at some point during the execution of depth-first search from vertex s in a digraph is satisfies.but there is no any path from v1 to v2 or from v2 to v1.

edited by

Please log in or register to answer this question.

Related questions

2 votes
2 votes
1 answer
1
2 votes
2 votes
2 answers
2
sumit chakraborty asked Jan 11, 2018
1,280 views
If DFS algorithm applied starting from vertex ‘A’ which uses stack data structure then the height of stack is needed in worst case for DFS traversal is _________.
5 votes
5 votes
1 answer
4
manvi_agarwal asked Sep 15, 2018
2,493 views
Also let me know the approach to find back edges, cross edges, forward edges,How to solve these questions