Amazon interview question

find max in an array. UNEXPECTED. not difficult