Domanda di colloquio di Meta

Leetcode Coding question from top frequency problems