American Express Interview Question

How to find the highest value in an array?