Let's first look at the problem statement:
Given an integer array nums, find a subarray the product. The test cases are generated so that the answer will fit in a 32-bit integer.
This requires us to find the contiguous subarray with the maximum produ...