Variable Size Sliding Window Algorithm Leetcode Solutions With Explanation