https://leetcode-cn.com/problems/maximum-subarray/
用DP,不断更新全局最大值与当前最大值
53.最大子序和 (DP) 与152题相同
原文:https://www.cnblogs.com/ChevisZhang/p/13030340.html