Sliding window pattern and template for LeetCode problems