Data Structures Quiz

Which of the following is not an inherent application of stack?

A. Implementation of recursion

B. Evaluation of a postfix expression

C. Job scheduling

D. Reverse a string

Solution :

C) is correct.

We can use stack for string reversal, evaluation of postfix expression and most important is implementation of recursion but job scheduling is not done by stack. So, option C is correct.

Thanks for Reading

Placewit grows the best engineers by providing an interactive classroom experience and by helping them develop their skills and get placed in amazing companies.

Learn more at Placewit. Follow us on Instagram and Facebook for daily learning.