Quick Sort
QuickSort involves two phases:
Partition: In the partition phase, all of the elements are reordered such that elements to the left of the pivot are less than the pivot, and right of the pivot greater than the pivot.
Sort: In the sort phase, the algorithm is applied down to the two groups recursively, until the entire array is sorted.
Last updated
Was this helpful?