Expedia Group interview question

Max difference between numbers in an array