The problem doesn’t seem to have anything to do what I am being asked to do in the solution. Is it just me not understanding anything? The solution talks about deque, for example. This is not mention in the lesson anywhere.
Course: Grokking Coding Interview Patterns in Python - Learn Interactively
Lesson: Find Maximum in Sliding Window - Grokking Coding Interview Patterns in Python