BS [Chapter 9.2]: Added randomizedSelect to find the i-th order statistic of an array.