Domanda di colloquio di Robinhood

they were 2 leetcode hard problems