Last but not least, we can solve the problem by
first using a selection algorithm to find the mth smallest
element. Most selection algorithms also rearrange
the array so that the elements which are smaller than
the sought element are to its left, the sought element
is at the mth component, and the elements which are