Home »
MCQs »
Data Structure and Algorithms (DSA) MCQs
Which of the following sorting algorithms is using pivot to partition unsorted lists?
12. Which of the following sorting algorithms is using pivot to partition unsorted lists?
- Insertion Sort
- Quick Sort
- Merge Sort
- Bubble Sort
Answer
The correct answer is: B) Quick Sort
Explanation
Quick Sort algorithm uses a pivot element to partition an array and then call itself recursively twice to sort the resultant sub-arrays.