Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
Givenanarrayofintegersarrandtwointegerskandthreshold.Returnthenumberofsub-arraysofsizekandaveragegreaterthanorequaltothreshold.Example1:Input:arr=[2,2,2,2,5,5,5,8],k=3,threshold=4Output:3Explanation:S