Bloomberg interview question

How do you find the maximum value in an array?