Pergunta de entrevista da empresa BOX Partners, LLC

sliding window based coding question with less time complexity