9 lines
319 B
Plaintext
9 lines
319 B
Plaintext
{{Sorting Algorithm}}
|
|
|
|
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>
|
|
|