...

/

Solution Review: Find the Sum of Maximum Sum Subarray

Solution Review: Find the Sum of Maximum Sum Subarray

Let's solve the Maximum Subarray problem.

Statement

Given an unsorted array nums, find the sum of the maximum sum subarray. The maximum sum subarray is an array of contiguous elements in nums for which the sum of the elements is maximum.

Constraints:

  • 11 \leq nums.length 103\leq 10^3 ...