Q19
What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete graph of vertices?
Show answer without attempting
Answer: C
GATE CS · 127 questions
127 Algorithms questions from GATE CS papers, each with the official answer key. Answer any question right here and it is marked straight away, or practise them one at a time.
Answer: C
Answer: C
int unknown(int n){
int i, j, k=0;
for (i=n/2; i<=n; i++)
for (j=2; j<=n; j=j*2)
k = k + n/2;
return (k);
}Answer: B
Answer: C
Answer: Marks to all
Answer: Marks to all

Answer: D
0/70 correct0 marks