+1 vote
in Data Structures & Algorithms I by (110k points)
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 counter

My doubt is from Application of Stacks topic in portion Application of Stacks of Data Structures & Algorithms I

I have been asked this question by my school principal while I was bunking the class.

1 Answer

+1 vote
by (408k points)
selected by
 
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...