Sliding Window Pattern Leetcode Solutions