Variable Size Sliding Window Leetcode Question No 1