Quicksort chooses an element, the pivot, partitions the array into the elements smaller than the pivot, the pivot, and the others, and sorts the two parts recursively. A three-way partition separates the elements smaller than, equal to and larger than the pivot.
Computer Science · Begrippenlijst
Wat is Quicksort, pivot, three-way partition?
Ook bekend als: quicksort · pivot · three-way partition (of an array)