Question d’entretien chez Adobe

return the longest subarray of consecutive numbers