GATEverse
← GATE CSE 2014 Set 3

Q13

NAT1 mark

Suppose depth first search is executed on the graph below starting at some unknown vertex. Assume that a recursive call to visit a vertex is made only after first checking that the vertex has not been visited earlier. Then the maximum possible recursion depth (including the initial call) is _________.

Figure 1

Sign in to save attempts.

Loading…