+ 1
How to do these notations?
Q1). Given an extremely large file that contains parenthesis, how would you say that the parenthesis are balanced? Q2). Assume that the operators +, -, × are left-associative and ^ is right-associative. The order of precedence (from highest to lowest) is ^, * , +, -. The postfix expression corresponding to the infix expression a + b / c - d ^ e ^ f is.
1 Odpowiedź
0
I believe the postfix expression would be abc/de^f+-