Question d’entretien chez Amazon

Find largest sub-array in a given array