1.

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» B. O(V)


Discussion

No Comment Found