Pregunta de entrevista de Amazon

Coding questions were on Hash Maps, Sliding Window