Question d’entretien chez J.P. Morgan

Largest sum in an array.