Pergunta de entrevista da empresa Garmin

Find the difference of the largest and smallest integer in an array