Solution: Find Maximum in Sliding Window