【Leetcode 题中总结的编程思维】Maximum Product Subarray,最大乘积子序列
152.MaximumProductSubarrayMedium167677FavoriteShareGivenanintegerarraynums,findthecontiguoussubarraywithinanarray(containingatleastonenumber)whichhasthelargestproduct.Example1:Input:[2,3,-2,4]Output:6