Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
Let's Go!
By Anupam Tudu
A stack is an abstract data type (ADT) that holds an ordered, linear sequence of items. A stack has a last in, first out (LIFO) or first in, last out (FILO) structure.
Primitive Operations on stack ->
This function is used to check whether the stack is full or not.
This function is used to check whether the stack is empty or not.
This function is used to push elements into the stack.
Steps in push() operation
This function is used to delete one element from the top of the stack.
Steps in pop() operation
This function is used to get the top most element of the stack.