Pergunta de entrevista da empresa FactSet

Given an infix arithmetic expression, evaluate it.