Topic: Array Problem / Level: intermediate

Problem: Given an array, find the longest subarray where the sum of elements is less than the sum of the first and last elements of the array.

Run the code to see the output here...