Sliding Window Algorithm Leetcode Solutions With Explanation