Pregunta de entrevista de Amazon

Write code to find the smallest two numbers in an array.