174k views
3 votes
The quick sort algorithm sorts using what technique?

1 Answer

1 vote

Answer:

Hi!

The Quicksort algorithm uses a divide-and-conquer approach.

Step-by-step explanation:

The Quicksort algorithm follows these steps to sort:

  • It is accomplished by dividing the array into two partitions.
  • Sorting each partition recursively.
  • The array is partitioned by placing all items smaller than some pivot item before that item and all items larger than the pivot item after it.

User Sam Chan
by
5.8k points