Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Which of the following is not an application of stack.

(a) Tower of Hanoi

(b) evaluation of postfix expression

(c) Priority queue

(d) Recursion






Solution

Tower of Hanoi → solved using recursion and stack concept
Evaluation of postfix expression → uses stack
Recursion → implemented using call stack

Priority queue is implemented using heap or special queue structure, not stack.

Correct Answer: (c) Priority queue



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...