Topic: Array Problem / Level: intermediate

Problem: Find the number of subarrays where the product of elements is divisible by their index cubes and their digit cubes using dynamic programming.

Run the code to see the output here...