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 of Depth First Search on G, when G is represented as an adjacency matrix? |
| A. | Θ (n) |
| B. | Θ (n + m) |
| C. | Θ (n2) |
| D. | Θ (m2) |
| Answer» D. Θ (m2) | |