Topic: Array Problem / Level: advanced

Problem: Given an array of integers, find the number of distinct subarrays where the sum of elements is equal to their index products.

Run the code to see the output here...