Which of the following algorithm design techniques is used in the quicksort…

2018

Which of the following algorithm design techniques is used in the quicksort algorithm?

Answer: C. Divide and ConquerQuicksort works by dividing the array into subarrays around a pivot and recursively sorting them, which follows the divide and conquer strategy.

  1. A.

    Dynamic programming

  2. B.

    Backtracking

  3. C.

    Divide and Conquer

  4. D.

    Greedy method

Attempted by 1508 students.

Show answer & explanation

Correct answer: C

Quicksort works by dividing the array into subarrays around a pivot and recursively sorting them, which follows the divide and conquer strategy.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…