Question d’entretien chez Indeed

Find longest run (i.e 1 2 3 4 ) in an array.