Topic: Array Problem / Level: intermediate

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

Run the code to see the output here...