Topic: Array Problem / Level: intermediate

Problem: Find the number of ways to partition an array into two subarrays where the sum of elements in one subarray is smaller than the product of elements in the other subarray.

Run the code to see the output here...