Topic: Array Problem / Level: advanced

Problem: Implement a function to find the maximum sum of a subarray where all elements are negative and less than the average of the entire array.

Run the code to see the output here...