Question d’entretien chez Garmin

Given an array, find the maximum in the array