Which of the following is a divide-and-conquer algorithm?
Show answerHide answer
Correct answer: (A) Merge sort
Explanation
Merge sort splits the list in halves, sorts them and merges, which is divide and conquer.
Correct answer: (A) Merge sort
Explanation
Merge sort splits the list in halves, sorts them and merges, which is divide and conquer.
This is question 117 of BPSC TRE 2.0 (2023) Computer Class 9-10 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.