LeetCode - Maximum Product Subarray
Problem statement
Given an integer array nums, find a contiguous non-empty subarray within the array that has the largest product, and return the product.
The test cases are generated so that the answer will fit in a 32-bit integer.
A subarray is a c...
alkesh26.hashnode.dev5 min read