Pergunta de entrevista da empresa Amazon

Re-derive the shunting yard algorithm