Sollicitatievraag bij Zoom Communications

Leetcode hashmap medium question. I dont remember exactly.