MCQOPTIONS
Saved Bookmarks
| 1. |
Let ‘m’ and ‘n’ be the number of edges and vertices in a graph G, respectively. Which of the following is the time complexity of the Kruskal’s algorithm to find minimum spanning tree of G? |
| A. | O(n log n) |
| B. | O(m log m) |
| C. | O(n2) |
| D. | O(m2) |
| Answer» C. O(n2) | |