Pergunta de entrevista da empresa Exotel

Data structures algorithms question including sliding window concept