Garmin Interview Question

Find the max difference in an array