4 ms·
Reverse Polish notation (RPN) > Converting from infix notation https://en.wikipedia.org/wiki/Reverse_Polish_notation#Converting_from_infix_notation https://en.w
by westurner 6y ago
Reverse Polish notation (RPN) > Converting from infix notation
https://en.wikipedia.org/wiki/Reverse_Polish_notation#Converting_from_infix_notation https://en.wikipedia.org/wiki/Reverse_Polish_notation#Conver... > Shunting-yard algorithm
https://en.wikipedia.org/wiki/Shunting-yard_algorithm https://en.wikipedia.org/wiki/Shunting-yard_algorithm
Infix notation supports parentheses.
Infix notation: 3 + 4 × (2 − 1)
RPN: 3 4 2 1 − × +