Amazon interview question

Find largest and second largest number of an array?