closed by
199 views
0 votes
0 votes
closed as a duplicate of: TIFR CSE 2014 | Part B | Question: 3

Consider the following directed graph

Suppose a depth-first traversal of this graph is performed, assuming that whenever there is a choice, the vertex earlier in the alphabetical order is to be chosen. Suppose the number of tree edges is T, the number of back edges is B and the number of cross edges is C. Then

   
   
 

(A) B = 1, C = 1, and T = 4.

 

(B) B = 0, C = 2, and T = 4.

 

(C) B = 2, C = 1, and T = 3.

 

(D) B = 1, C = 2, and T = 3.

closed by

Related questions

1 votes
1 votes
2 answers
1
smartmeet asked Jan 18, 2017
1,027 views
What we can do if the unary operator comes in infix notation while converting it into postfix/prefix notations? For example, this $a = -b+c*d/e+f↑g↑h-i*j$
4 votes
4 votes
1 answer
3
2 votes
2 votes
3 answers
4
learncp asked Jan 26, 2016
792 views
Insert the given values in the order in initially empty $\text{AVL}$ tree.$\text{34,21,10,27,24,43,15,6}$What is the value at the root of the tree$?$