InterviewSolution
Saved Bookmarks
| 1. |
The time complexity to test whether a graph is bipartite or not is said to be _______ using depth first search.(a) O(n^3)(b) linear time(c) O(1)(d) O(nlogn)This question was posed to me in class test.The above asked question is from Bipartite Graphs topic in section Graphs of Discrete Mathematics |
|
Answer» Right choice is (b) linear time |
|