Amazon interview question

Coding questions were on Hash Maps, Sliding Window