Data Structures and Algorithms20805 marksBasic Concept of Stack, Stack as an ADT, Stack Operations, S
Explain push and pop operations of stack. What are different applications of stack?
Explain push and pop operations of stack. What are different applications of stack? [5]
A stack is a linear data structure in which insertion and deletion of elements takes place at only one end, called the top. It follows the LIFO (Last In First Out) principle, meaning the last element inserted is the first one to be removed. --- The PUSH operation is used to insert/add an element ...