Think of the worst possible way to choose pivots in this algorithm.