Skip to content
MathsGenie logo
Open app

Course home

x

Infix and Reverse Polish notation

Infix and Reverse Polish notation

Comparison of infix expression (A + B) * C and RPN expression A B + C *, showing the sub-expression A + B transformed before multiplication

Most expressions you already know are written in infix notation, where the operator sits between its operands, such as A+BA + BA+B. Reverse Polish notation, also called postfix notation, moves the operator after the operands, so A+BA + BA+B becomes AB+A B +AB+.

Reverse Polish Lesson

  1. A Level
  2. /Computer Science
  3. /Reverse Polish

Step-by-step lessons covering AQA A Level Computer Science Reverse Polish for A Level Computer Science. Each lesson works through exam-style questions.

Lessons