1.

Which of the following is not an application of stack?(a) evaluation of postfix expression(b) conversion of infix to postfix expression(c) balancing symbols(d) line at ticket counterMy doubt is from Application of Stacks topic in portion Application of Stacks of Data Structures & Algorithms II have been asked this question by my school principal while I was bunking the class.

Answer»

The correct answer is (d) LINE at ticket COUNTER

Easy explanation - Line at ticket counter is an APPLICATION of queue WHEREAS conversion of infix to postfix expression, BALANCING symbols, line at ticket counter are stack applications.



Discussion

No Comment Found

Related InterviewSolutions