Topic: Array Problem / Level: advanced

Problem: Find the longest subarray where the sum of elements is divisible by their digit sums and index sums using dynamic programming.

Run the code to see the output here...