Question 1: Max Subarray: Given an integer array nums, find the

subarray with the largest sum, and return its sum.