Question d’entretien chez Dream11

Find longest range in an array