Google interview question

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

Interview Answer

Anonymous

Feb 2, 2022

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