Sliding Window Maximum Leetcode Sql Server