Q.

Time Complexity of DFS is? (V – number of vertices, E – number of edges)

A. o(v + e)
B. o(v)
C. o(e)
D. o(v*e)
Answer» A. o(v + e)
1.7k
0
Do you find this helpful?
9

Discussion

No comments yet