Pregunta de entrevista de Peanut Labs

Write a algorithm that evaluates an arithmetic expression such as "5 + 8 / 2 - 3".