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 both their index cubes and their digit cubes.

Run the code to see the output here...