What is the time complexity of Floyd–Warshall algorithm to calculate all pair shortest path in a graph with n vertices?
O(n2log(n))
Theta(n2log(n))
Theta(n4)
Theta(n3)
This question is part of this quiz :
Top MCQs on Complexity Analysis of Algorithms with Answers,Top 50 Algorithms MCQs with Answers