Statement
Given an integer array, nums, find a subarray that has the largest product, and return the product.
Constraints:
nums.lengthnums[i]The product of any prefix or suffix of
numsis guaranteed to fit in ainteger.
Given an integer array, nums, find a subarray that has the largest product, and return the product.
Constraints:
nums.length
nums[i]
The product of any prefix or suffix of nums is guaranteed to fit in a
Given an integer array, nums, find a subarray that has the largest product, and return the product.
Constraints:
nums.length
nums[i]
The product of any prefix or suffix of nums is guaranteed to fit in a