MCQOPTIONS
Saved Bookmarks
| 1. |
Let G be a graph with n vertices and m edges. What is the tightest upper bound on the running time on Depth First Search of G? Assume that the graph is represented using adjacency matrix. |
| A. | O(n) |
| B. | O(m+n |
| C. | O(n2) |
| D. | O(mn |
| Answer» D. O(mn | |