/postfix_notation

Converting an expression in infix notation into an expression in postfix notation

Primary LanguageGo

postfix_notation

Converting an expression in infix notation into an expression in postfix notation

Example

a+b*c*(d+e)abc*de+*+

Note

  • Operands must be lower alphabetic characters (a-z).
  • The expression must not have spaces.
  • Operators must be operators (+, -, *, /) or brackets.