+1 vote
194 views

There is given a infix expression:

${\color{Red} {1}}$

$A+B\times C/\left ( \left ( D+E \right )+F\times G \right )$

While converting infix expression to postfix expression number of symbols in the stack at indicated ${\color{Red} {point-1}}$ infix expression (assume stack is initially empty) ______________

they told $5$, but is it correct? Can anyone give some explanation??

in DS
edited | 194 views

+1 vote
Yes it is 5
by (59 points)
0
how??
0
Can you give the explanation please.
0

I got  ABC*DE+FG*+/+ as postfix expression with stack size 6, please verify it.

5 is right

by Boss (36.5k points)
+1

I think it will be ABCxDE+FGx+/+