Galil Software interview question

find max 3 numbers in array by going only one time.