Find Maximum in Sliding Window

Try to solve the Sliding Window Maximum problem.