...
Solution: Find Maximum in Sliding Window
Let's solve the Sliding Window Maximum problem using the Sliding Window pattern.