Pregunta de entrevista de Bloomberg

How do you find the maximum value in an array?