Domanda di colloquio di Google

design question and leetcode question