Topic: Array Problem / Level: advanced

Problem: Given an array of integers, find the number of distinct subarrays where the sum of elements is less than the average of the entire array.

Run the code to see the output here...