Topic: Array Problem / Level: intermediate

Problem: Find the number of distinct subarrays where the sum of elements is divisible by both their index cubes and their digit sum.

Run the code to see the output here...