What is stack in Data Structure? tccicomputercoaching.com
- May 29, 2019
- Posted by: Riddhi Dhandha
- Category: Data Structure at TCCI
Stack is an ordered list of similar data type. There is a LIFO structure. (Last in First out).
Push() function is used to insert new elements into the Stack and pop() is used to delete an element from the stack. Both insertion and deletion are allowed at only one end of Stack called Top.
Stack is said to be in Overflow state when it is completely full and is said to be in Underflow state if it is completely empty.
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/blog/