Niantic interview question

Data Structure Design Question, Sliding Window Problems