Infix, Postfix and Prefix Notations | Algorithms
Infix, Postfix and Prefix notations are most common ways of writing expressions. Infix notation: Example: (A+B) Infix notation is commonly used in arithmetic formula or statements. Postfix Notation (Reverse Polish Notation): Example: A B+, Operators are used after their operand. Prefix Notation (Polish Notation): Example: + A B Operators are used before their operands