Question d’entretien chez Oliver Wyman

Find the sub-array with the biggest sum