GATE CSE Graph Algorithms & P/NP Completeness – Algorithms Practice Test | Set 1

Questions 61-65 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 61

MCQ · Single Correct 2 mark

For a DAG with V vertices and E edges, single-source shortest paths can be computed in:

Answers for question 61

Question 62

MCQ · Single Correct 2 mark

Bellman-Ford is preferred over Dijkstra when a graph may contain:

Answers for question 62

Question 63

MCQ · Single Correct 2 mark

Suppose Bellman-Ford performs V-1 complete relaxation passes and then finds an edge (u,v) satisfying d[v] > d[u] + w(u,v). What does this imply?

Answers for question 63

Question 64

MCQ · Single Correct 2 mark

In a connected weighted undirected graph, if an edge e is the unique lightest edge crossing some cut, then e:

Answers for question 64

Question 65

MCQ · Single Correct 2 mark

Kruskal’s algorithm can be implemented efficiently using which data structure to detect whether an edge creates a cycle?

Answers for question 65
Scroll to Top