Topic: Array Problem / Level: advanced

Problem: Find the maximum product of a subarray where the sum of elements is less than the average of the entire array using dynamic programming.

Run the code to see the output here...