Variable Size Sliding Window Leetcode Question 53