Question d’entretien chez American Express

How to find the highest value in an array?