All Exams Test series for 1 year @ ₹349 only
Question

Which of the following is not a divide and conquer method

This question was previously asked in
UGC NET 2024 Computer Science and Applications Question Paper (23-Aug-2024) (Shift 1)
The correct answer is

Heap Sort

A divide-and-conquer algorithm splits the problem into smaller subproblems of the same kind, solves them recursively and combines their results.

Binary search halves the search interval at each step and recurses on one half, \(T(n)=T(n/2)+O(1)\); it is the standard example of divide and conquer with a single subproblem.

Merge sort divides the array into two halves, sorts each recursively and merges them, \(T(n)=2T(n/2)+O(n)\).

Quick sort partitions the array around a pivot and recursively sorts the two parts.

Heap sort builds a binary max-heap and then repeatedly removes the maximum and restores the heap property; it relies on a data structure, not on splitting the input into independent subproblems, so it is not a divide-and-conquer method.

Heap Sort option is correct.

Was this answer helpful?

Similar Questions

  1. For matrix multiplication, if we use divide and conquer algorithm, then ______

    A. the running time is T(n)=Θ(n3)

    B. the running time is T(n)= Θ(n2 log n)

    C. The recurrence can be defined as T(n)=8T(n/2)+Θ(n2)

    D. the recurrence relation is T(n)= 8T(2n)+Θ(n2log n)

    E. Masters theorem, one of the cases is applicable

    Choose the most appropriate answer from the options given below:


Important Questions from Divide and Conquer - Teaching

  1. For matrix multiplication, if we use divide and conquer algorithm, then ______

    A. the running time is T(n)=Θ(n3)

    B. the running time is T(n)= Θ(n2 log n)

    C. The recurrence can be defined as T(n)=8T(n/2)+Θ(n2)

    D. the recurrence relation is T(n)= 8T(2n)+Θ(n2log n)

    E. Masters theorem, one of the cases is applicable

    Choose the most appropriate answer from the options given below:

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
219 Attempts
4.4(46)
English
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App