Amazon Interview Question

Find largest and second largest number of an array?