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?
  1. A
    \(\Theta (n^{2})\)
  2. B
    \(\Theta (n^{2} log n)\)
  3. C
    \(\Theta (n^{3})\)
  4. D
    \(\Theta (n^{3} log n)\)

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial 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