Google interview question

How would you evaluate a mathematical expression that uses postfix notation?

Interview Answer

Anonymous

2 Feb 2022

My first thought was an array, but ended up with a list to pop off the last 2 numbers.