Pergunta de entrevista da empresa Amazon

2 Leetcode questions related to stacks/queues and binary trees.