Question d’entretien chez Groupon

wirte code for finding the smallest K elements in a list