Topic: Array Problem / Level: intermediate

Problem: Check if the product of elements at prime indices in an array is smaller than the sum of their digit cubes using dynamic programming.

Run the code to see the output here...