Topic: Array Problem / Level: advanced

Problem: Find the maximum sum of a subarray where all elements are greater than the sum of their index product using dynamic programming and a sliding window technique.

Run the code to see the output here...