Maximum Ascending Subarray Sum | Leetcode 1800