Topic: Array Problem / Level: advanced

Problem: Find the number of subarrays where the sum of elements is equal to the product of their index sums using a dynamic programming approach.

Run the code to see the output here...