Expedia Group Interview Question

Max difference between numbers in an array