Data Structure
Infix to Postfix Conversion
Operator Precedence & Associativity
Operator | Precedence | Associativity |
---|---|---|
^ | 3 | Right |
* , / | 2 | Left |
+ , - | 1 | Left |
Stack
Tokens
Output (Postfix)
Explanation will appear here...
List of expressions to evaluate
A+B*C
*(A+B)C
A+B*C-D/E
(A+B)*(C-D)
A^B^C
(A+B)/C^(D-E)
A(B+CD)-E**
(A+B*C)/(D-E)
A+B(C^D-E)*
*((A+B)C-(D-E))^(F+G)