retagged by
766 views

3 Answers

2 votes
2 votes
Answer is 3

postfix expression ab^c*d*efg^*+
0 votes
0 votes
In the operator stack, we get maximum size for last three operators i.e. +,*,^  as in the stack "*" can be put above "+" and "^" can be put above "*" . ( in case of other operators in the same question, is not possible ).

Hence, the maximum size of operator stack is 3.

Related questions

2 votes
2 votes
0 answers
1
0 votes
0 votes
0 answers
2
Mk Utkarsh asked Oct 20, 2018
848 views
Please convert it to postfix by using stack and explain in detailvoid (*bsd_signal(int sig, void (*func)(int)))(int);
2 votes
2 votes
1 answer
3
Himanshu Goyal asked Jul 14, 2017
5,520 views
How is ans 15 for this question Please can anybody solve this