Topic: Array Problem / Level: intermediate

Problem: Find the longest subarray where the sum of elements is smaller than the sum of their digit cubes using dynamic programming.

Run the code to see the output here...