Question d’entretien chez Thumbtack

Parse and evaluate reverse polish notation.

Réponse à la question d'entretien

Utilisateur anonyme

26 mai 2016

Use a stack for the operands, pop two every time you encounter an operator, and push the result back on the operand stack.