Pergunta de entrevista da empresa JPMorganChase

maximum subarray sum was the question