Sliding Window Maximum Leetcode Premium