30:00
Given an integer array nums, find a subarray that has the largest product, and return the product.
1≤nums.length≤2×1041 \leq \text{nums.length} \leq 2 \times 10^41≤nums.length≤2×104
−10≤nums[i]≤10-10 \leq \text{nums}[i] \leq 10−10≤nums[i]≤10
The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit integer.
nums
2
3
-2
4