MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the time complexity of the iterative depth first traversal code(V=no. of vertices E=no.of edges)? |
| A. | O(V+E) |
| B. | O(V) |
| C. | O(E) |
| D. | O(V*E) |
| Answer» B. O(V) | |