Pregunta de entrevista de J.P. Morgan

Find the largest sum in an array with sub-array