Pergunta de entrevista da empresa Check Point Software Technologies

Find the sub array with the largest sum.