Topic: Array Problem / Level: advanced

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

Run the code to see the output here...