Bloomberg interview question

How to find the k smallest numbers in array