Pergunta de entrevista da empresa Robinhood

4 questions, 1 leetcode easy, 2 mediums, and 1 hard.