Topic: Array Problem / Level: advanced

Problem: Given an array of integers, find the maximum sum of a subarray where all elements are greater than the average of the array using dynamic programming.

Run the code to see the output here...