Computer Sciences > Gate 2014 Set-1 > Graph Theory
Let G be a graph with n vertices and m edges. What is the tightest upper bound on the running time on Depth First Search of G?
Assume that the graph is represented using adjacency matrix.
A
θ (n)
B
θ (n+m)
C
θ(n2)
D
θ(m2)

Correct : Graph Theory

Similar Questions

Let G=(V,E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following graphs has the same strongly connected co...
#18 MCQ
Let G=(V,E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following graphs has the same strongly connected co...
#18 MCQ
Let G=(V,E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following graphs has the same strongly connected co...
#18 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......