Pergunta de entrevista da empresa JPMorganChase

Implement two stacks into a queue