Quick Sort's _______ step divides the array into two subarrays.

  • Compare
  • Merge
  • Partition
  • Shuffle
Quick Sort's partition step divides the array into two subarrays. It chooses a pivot, rearranges the elements such that elements less than the pivot are on the left, and elements greater than the pivot are on the right. This step is pivotal for the algorithm.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *