TikTok Interview Question

A medium leetcode about Hashmap and Rolling Window.