Telnyx interview question

Algorithm task: Find subsequence with max sum of elements in sequence.