Back to the 2022 paper

Module 2: Fundamental Algorithmic Strategies

20222m

Kruskal algorithm is a
(i) Divide & conquer algorithm
(ii) Branch and bound algorithm
(iii) Greedy algorithm
(iv) Dynamic programming

Worked SolutionAI Assisted

Answer: (iii) Greedy algorithm

Explanation:

  • Kruskal's MST: sort edges by weight ascending, iterate adding smallest edge that does not form a cycle (using Union-Find). At each step it makes the locally optimal (minimum-weight) choice — the defining characteristic of the Greedy paradigm.
  • Similarly Prim's is also greedy.
  • Divide & conquer splits into independent subproblems (Merge Sort, Quick Sort). Dynamic programming solves overlapping subproblems. Branch-and-bound is for backtracking optimization.

Correct choice: (iii) Greedy algorithm

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.