quick sort


Also found in: Dictionary, Thesaurus, Medical, Legal.

quick sort

A sorting technique that sequences a list by continuously dividing the list into two parts and moving the lower items to one side and the higher items to the other. It starts by picking one item in the entire list to serve as a pivot point. The pivot could be the first item or a randomly chosen one. All items that compare lower than the pivot are moved to the left of the pivot; all equal or higher items are moved to the right. It then picks a pivot for the left side and moves those items to left and right of the pivot and continues the pivot picking and dividing until there is only one item left in the group. It then proceeds to the right side and performs the same operation again. See sort algorithm.


Quick Sorting a List
This quick sort uses randomly chosen pivots (in red) to keep dividing the list into two until there is only one item on each side of the pivot left.
References in periodicals archive ?
Recurrencia del Quick sort Para el algoritmo Mergesort y el mejor caso del algoritmo Quick sort se deduce la recurrencia: 2t (n/2) + n Si n > 1,con t (0) = 1
For the quick sort, the average accuracy rate and standard deviation were 81.
We're doing a quick sort of them and seeing if any are good enough to sell in the UK and the rest go out to our project in Senegal.