What is Reverse Polish Notation?

Reverse Polish Notation (or RPN) is simply a different mathematical way of laying out equations, take for example the expression:
7+ 9
The layout is <First number> <Operator> <Second Number>, in computing we usually refer to the numbers as 'Operands' - another name for this layout is 'infix'. RPN lays out expressions with the Operands first and the Operator later. So our expression becomes:
7 9 +

NP

Related Computing A Level answers

All answers ▸

What is recursion and why is it useful?


Convert the base-10 number 74 into an 8-bit binary number


What are the main differences between different loops when it comes to coding ?


One member of a chess club sends a text file saved in Unicode. What meant by the term "Unicode" and why might this be necessary?