×

Multiple-Choice Questions

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?

  1. Insertion Sort
  2. Quick Sort
  3. Merge Sort
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.