Illustration

We know that the element with rank r is somewhere between index i and index j. We partition and find the pivot element at position k. We only need to recurse on the left partition.

tex2html_wrap362


next up previous
Next: Experimental Results Up: ORDER STATISTICS Previous: Randomized Select