Identify the type of expression where operators are placed after the corresponding operands like x y * z +; 3 4 5 + *; x y + z 5 * /
Identify the type of expression where operators are placed after the corresponding operands like x y * z +; 3 4 5 + *; x y + z 5 * /
Solution
When the operator comes after its operands, the notation is postfix, also called Reverse Polish Notation (RPN). In "x y * z +", the operator * follows x and y, and + follows the result and z. It reads as (x * y) + z.
Option 1 (Infix): the operator sits between the operands, as in x * y + z.
Options 2 and 4 (Polish / Prefix): these are the same thing. The operator comes before the operands, as in + * x y z.
Memory trick: "Reverse" Polish reverses the Polish order, so the operator moves from before the operands to after them.
Related questions:
2026: 23 May Shift 2
2025: 13 May Shift 2
2026: 24 May Shift 1
2026: 19 May Shift 1