← Return

53. Maximum SubarrayMedium

Given an integer array nums, find the subarray with the largest sum, and return its sum.