Array
1800. Maximum Ascending Subarray Sum
Array of positive integers nums. An ascending subarray is a contiguous run of strictly increasing elements. Find the maximum sum among all such runs. One pass: extend the current ascending run's sum…
Loading…