find an max number in an increased-decrease array.