TalentPace Interview Question

print highest difference into array