Topic: Array Problem / Level: intermediate

Problem: Find the maximum sum of a subarray where all elements are greater than the sum of their neighbors.

Run the code to see the output here...