Which of the following algorithm design techniques is used in the quick sort algorithm?
Which of the following algorithm design techniques is used in the quick sort algorithm? Correct Answer Divide and conquer
Concept:
Quick Sort is a Divide and Conquer algorithm. It picks an element as a pivot and partitions the given array.
Important Points:
- Merge Sort is a Divide and Conquer algorithm. It divides the input array into two halves, calls itself for the two halves, and then merges the two sorted halves.
- Both Merge Sort and quicksort are based on the divide and conquer method.
মোঃ আরিফুল ইসলাম
Feb 20, 2025