Topic: Array Problem / Level: intermediate

Problem: Check if an array contains a subarray where the sum of elements is smaller than the product of their index cubes.

Run the code to see the output here...