Polish mathematician Lukasiewicz was the first to propose that the arithmatic expressions can be written in some different ways as well. His proposals were: Prefix and Postfix. Prefix was later known as Polish and post fix was known as Reverse-Polish. Note that the conventional notation is known as Infix.
The detailing of arithmatic notations are as follows:
The operator resides in between two adjacent operands. This in in accordance that an entire expression (if in bracket), is an like an operand. Ex: A + B
The operator resides immediately before the two continuous operands. Ex: + A B
The operator resides immediately after two continuous operands. Ex: A B +
The translation works in a specific manner. We use two registers and a stack here. The registers are to store infix and postfix expressions respectively while the stack for storing operators as encountered during translation. The detailed algorithm is as follows: