Given an array of positive integers nums, return the maximum possible sum of an ascending subarray in nums.
A subarray is defined as a contiguous sequence of numbers in an array.
A subarray [nums[l], nums[l + 1], ..., nums[r - 1], nums[r]] is ascending if nums[k] < nums[k + 1] for all
Constraints:
nums.length
nums[i]
Given an array of positive integers nums, return the maximum possible sum of an ascending subarray in nums.
A subarray is defined as a contiguous sequence of numbers in an array.
A subarray [nums[l], nums[l + 1], ..., nums[r - 1], nums[r]] is ascending if nums[k] < nums[k + 1] for all
Constraints:
nums.length
nums[i]