Solution to Maximum Product Subarray by LeetCode

29 Sep

Question: https://oj.leetcode.com/problems/maximum-product-subarray/

Question Name: Maximum Product Subarray

The following solution is not the optimal. Because the recursion is not necessary. But recursion does make the coding easier.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please put your code into a <pre>YOUR CODE</pre> section. Thanks and Happy Coding!