Data Structures and Algorithms207710 marksBasic Concept of Stack, Stack as an ADT, Stack Operations, S
What is stack? What are the different applications of stack? Explain stack operations with example.
What is stack? What are the different applications of stack? Explain stack operations with example.[10]
A stack is a linear data structure in which an element may be inserted or deleted only at one end (called the top of the stack). Elements are removed from a stack in the reverse order of that in which they were inserted. Stack follows the principle of LIFO (Last In First Out), meaning the last el...