Algorithms | Dynamic Programming | Question 7

Last Updated :
Discuss
Comments

What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete graph of n vertices?

θ(n2)

θ(n2 log n)

θ(n3)

θ(n3 log n)

Share your thoughts in the comments