1.

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

A. Θ(n2)
B. Θ(n2log n)
C. Θ(n3)
D. Θ(n3log n)
Answer» D. Θ(n3log n)


Discussion

No Comment Found