Domanda di colloquio di Meta

Leetcode medium which can be solved with hashmaps or dictionaries