What will be the time complexity of the iterative depth first traversal code(V=no. of vertices E=no.of edges)?
Posted: Wed Jul 13, 2022 6:16 pm
a) O(V+E)
b) O(V)
c) O(E)
d) O(V*E)
b) O(V)
c) O(E)
d) O(V*E)
Accurate answers. Every time.
https://answerhappy.com/