RosettaCodeData/Task/Quickselect-algorithm/00DESCRIPTION

6 lines
295 B
Plaintext

Use the [[wp:Quickselect|quickselect algorithm]] on the vector
: [9, 8, 7, 6, 5, 0, 1, 2, 3, 4]
To show the first, second, third, ... up to the tenth largest member of the vector, in order, here on this page.
* Note: Quick''sort'' has a separate [[Sorting algorithms/Quicksort|task]]. <br><br>