in Algorithms retagged by
606 views
1 vote
1 vote
What is the stack size while implementing this infix to postfix expression using operator stack?

a+b+c+d+e
in Algorithms retagged by
606 views

4 Comments

According to me it's 1...

But if the expression is like this

 

A^B^C^D^E

Then how many stack units ?
0
0
$a^{(b^{(c^{(d^e)})})}$

I think all the power operators will be on the stack because of right to left associative nature
0
0
kindly explian?
0
0

Please log in or register to answer this question.

Related questions