Selection Algorithm A selection algorithm is an algorithm for finding the kth smallest number in a list or array.