Pergunta de entrevista da empresa Block

Leetcode: Stack, Dictionary and that's all.