edited by
933 views
0 0 votes

Which of the following statements are true?

  1.  In a depth-first search of an undirected graph $G,$every edge of $G$ is either a tree edge or a back edge
  2. Forward and cross edges never occur in a depth-first search of an undirected graph
  3. A directed graph is acyclic if and only if a depth-first search yields no back edges
  1. $1$          
  2. $1$ and $2$    
  3. $2$ and $3$       
  4. All of these

1 Answer

0 0 votes
d

In directed graph , no vertex visited twice means Acyclic graph then No back edges in directed graph means Acyclic graph.
Position:
Show:

Related questions

1 1 vote
0 0 answers
571
571 views
0 0 votes
0 0 answers
1.4k
1.4k views
Lakshman Bhaiya asked Nov 13, 2018
1,416 views
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.$T...
1 1 vote
1 1 answer
1.7k
1.7k views
Shubham Kumar Gupta asked Dec 3, 2017
1,746 views
DFS Graph Traversal:Starting vertex $=\mathrm{V}_{6}$Identify valid DFS.$6,8,7,5,4,2,1$$6,3,1,2,4,5,8,7$$6,3,7,8,5,2,4,1$$6,8,5,4,2,1,7$
5 5 votes
1 1 answer
4.4k
4.4k views
manvi_agarwal asked Sep 15, 2018
4,413 views
Also let me know the approach to find back edges, cross edges, forward edges,How to solve these questions(a) 2(b) 4(c) 6(d) None of theseQ. 3 Consider the following graph...