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)
This question is part of this quiz :