Topic: Array Problem / Level: intermediate

Problem: Find the number of ways to partition an array into three subarrays where the product of elements in each subarray is divisible by their index cubes.

Run the code to see the output here...