Garmin interview question

Given an array, find the maximum in the array