Exotel interview question

Data structures algorithms question including sliding window concept