Given an integer array, nums, find the contiguous subarray that has the largest sum and return its sum.
nums
Note: A subarray is a contiguous part of an array that contains at least one number.
Constraints:
1≤1 \leq1≤ nums.length ≤105\leq 10^5≤105
nums.length
−104≤-10^4 \leq−1 ...