
Given an integer array nums , find the subarray with the largest sum, and return its sum .
1 <= nums.length <= 10 ^5-10 ^4 <= nums[i] <= 10 ^4Follow up: If you have figured out the O(n) solution, try coding another solution using the divide and conquer approach, which is more subtle.