Sliding Window Average Leetcode Problem