a) O(V + E)
b) O(V)
c) O(E)
d) O(V*E)
Time Complexity of DFS is? (V – number of vertices, E – number of edges)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Time Complexity of DFS is? (V – number of vertices, E – number of edges)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!