Pregunta de entrevista de American Express

How to find the highest value in an array?