Find the kth smallest element of a set. Two approaches are a modified distribution sort or select and partition.