

InterviewSolution
Saved Bookmarks
1. |
For an n-vertex undirected graph, the time required to find a cycle is ____________(a) O(n)(b) O(n^2)(c) O(n+1)(d) O(logn)This question was addressed to me during an internship interview.I'm obligated to ask this question of Trees in division Trees of Discrete Mathematics |
Answer» Right answer is (a) O(n) |
|