2080 4

CSC211 ยท 2080 ยท 5 marks

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]

Data Structures and AlgorithmsChapter 2: StackBasic Concept of Stack, Stack as an ADT, Stack Operations, S

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 ...