Topic: Array Problem / Level: intermediate

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

Run the code to see the output here...