DSA Key Problems

Maximum Average Subarray

Given an integer array and a window length k, return the maximum average of any contiguous subarray of exactly k elements.