Topic: Array Problem / Level: intermediate

Problem: Find the smallest subarray where the sum of elements is greater than or equal to twice the average of the entire array.

Run the code to see the output here...