Qualtrics interview question

Find the maximum contiguous sum in an array?