Topic: Array Problem / Level: advanced

Problem: Given an array of integers, find the longest subarray where all elements are less than or equal to the average of the entire array.

Run the code to see the output here...