1- University of Tabriz , imany@tabrizu.ac.ir 2- University of Zanjan
Abstract: (157 Views)
The Quicksort algorithm sorts the data stored in an array.The Partial Quicksort algorithm sorts the l smallest numbers out of numbers stored in an array of length n.The Quicksort on the flyprovidesonline first the smallest, then the second smallest and so on. If we stop at the l-th smallest, we obtain Partial Quicksort.In this paper, we analyze Ynln, a correctly normalized version of the number of comparisons needed to sort the l smallest numbers out of numbers stored in an array of length n, by the Median Quicksort algorithm.We show that whenever l≔nt، t∈0,1 and n→∞, then the process Ynt≔Ynntn converges toYt in the space of cadlag functions.