Topic: Array Problem / Level: intermediate

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

Run the code to see the output here...