GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 1.5

Merge-sort paradigm

Algorithms · Divide & Conquer · Full GATE CSE 1995 paper

GATE 1995, Q1.5 1 mark · MCQ
Report issue

Divide & Conquer

Question 1.5, GATE 1995: Does merge sort use divide and conquer, backtracking, heuristic search, or a greedy approach?
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Merge sort divides an input into smaller portions, recursively sorts each portion, then combines the sorted results using a merge. This division into subproblems and combination of their solutions is divide and conquer. It does not search and undo candidate choices as backtracking does, and it is not a sequence of locally optimal choices justified by a greedy exchange property. The merge step is linear, leading to the familiar Θ(n log n) recurrence for balanced splits.

Original paper, page 1