athenahealth Interview Question

Find max difference in an array