Pregunta de entrevista de Block

Leetcode: Stack, Dictionary and that's all.