Topic: Array Problem / Level: intermediate

Problem: Find the longest subarray where the sum of elements is divisible by both their index cubes and their digit cubes using a two-pointer approach.

Run the code to see the output here...