Question d’entretien chez Microsoft

Find max sum of sequential integers in an array