Pregunta de entrevista de Qualtrics

Find the maximum contiguous sum in an array?