Amazon interview question

Return k smallest numbers from an array