GATE CS 2013 · Shortest Path Algorithms
MCQ · 1 mark · Problem PROG-GRPH-0082
What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete
graph of n vertices?
- A
\(\Theta (n^{2})\)
- B
\(\Theta (n^{2} log n)\)
- C
\(\Theta (n^{3})\)
- D
\(\Theta (n^{3} log n)\)
Solve it on GATE DA practice →More Graph Theory & Algorithms problems
Show the worked solution
Official GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/1441/gate2013-19
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com