Topic: Array Problem / Level: intermediate

Problem: Find the longest subarray where the product of elements is divisible by the product of their index cubes using dynamic programming.

Run the code to see the output here...