Returns the k-th element of an array anArray using the Median of medians algorithm.
anArray
if anIndex is greater than or equal to the length of anArray
anIndex
the array to consider
the index of the element to find
the k-th element of anArray
Returns the k-th element of an array
anArrayusing the Median of medians algorithm.Throws
if
anIndexis greater than or equal to the length ofanArray