Question d’entretien chez J.P. Morgan

Find the largest sum in an array with sub-array