2 research outputs found

    Randomized Selection in n + C + o(n) Comparisons

    No full text
    In this paper we present a randomized selection algorithm that with high probability , for any constant # > 1 requires n + C + o(n) comparisons to determine the C-th order statitistic of n keys thus matching a corresponding lower bound on the average number of comparisons required. Low order terms in the number of comparisons performed can also be reduced by extending the algorithm of Floyd and Rivest and analyzing its resulting performance more carefully
    corecore