InterviewSolution
Saved Bookmarks
| 1. |
The time complexity to calculate the number of edges in a graph whose information in stored in form of an adjacency matrix is ____________(a) O(V)(b) O(E^2)(c) O(E)(d) O(V^2)This intriguing question originated from Adjacency Matrix in division Graph of Data Structures & Algorithms IThis question was posed to me by my college professor while I was bunking the class. |
|
Answer» The CORRECT option is (d) O(V^2) |
|