GATE CSE Graphs & Graph Algorithms – Data Structures Practice Test | Set 1

Questions 16-20 of 100

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

Question 16

MCQ · Single Correct 1 mark

Topological sorting is possible for which class of graphs?

Answers for question 16

Question 17

MCQ · Single Correct 1 mark

What is the time complexity of Topological Sort on a DAG with V vertices and E edges using Kahn's algorithm (indegree-based)?

Answers for question 17

Question 18

MCQ · Single Correct 1 mark

Which algorithm is used to find the Minimum Spanning Tree (MST) of a connected, weighted, undirected graph by greedily picking the smallest edge that does not form a cycle?

Answers for question 18

Question 19

MCQ · Single Correct 1 mark

What is the time complexity of Kruskal's algorithm on a graph with V vertices and E edges using Union-Find with path compression?

Answers for question 19

Question 20

MCQ · Single Correct 1 mark

Prim's algorithm for finding a Minimum Spanning Tree (MST) is most similar in structure to which single-source shortest path algorithm?

Answers for question 20
Scroll to Top