0053 Maximum Subarray
Warning
This post is more than a year old. Information may be outdated.
Solved at: 220905
Question
Given an integer array nums, find the contiguous subarray (containing at least one number) with the largest sum and return its sum.
A subarray is a contiguous part of an array.
Solution
Comments