

InterviewSolution
Saved Bookmarks
1. |
The time complexity to find shortest distances by using Dijkstra’s algorithm is __________(a) O(E^2)(b) O(V+1-E)(c) O(V+E)(d) O(E+VlogV)I have been asked this question in final exam.I'd like to ask this question from Trees topic in portion Trees of Discrete Mathematics |
Answer» Correct OPTION is (d) O(E+VlogV) |
|