Infix to Postfix with a Stack
CSC-211
· Semester III · Data Structures and Algorithms
Sandbox
intermediate
15 min
Available
How to play
Stack
LIFO · push / pop / peek · O(1)
Stack
Infix → Postfix
Postfix eval
A
+
B
*
C
Output (postfix)
A
Operator stack (top ↑)
empty
Step 0 / 6 · Token:
A