GATE CS 2013 · Question 19 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete graph of n vertices?
- (A) Θ(n²)
- (B) Θ(n² log n)
- (C) Θ(n³)
- (D) Θ(n³ log n)
Answer
Answer (C)
Answer from the official GATE CS 2013 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes