Pregunta de entrevista de Microsoft

Sliding Window and Hashmap question