Stack :


Stack is a Linear Data structure that store and removes it's element in Last-In-First-Out(LIFO) or First-In-Last-Out(FILO).

Insertation and Deletion of elements can be perform from One end only.

Insertation and Deletion of elements in stack often called as push and pop.


Functions :


Implementation of Stack : Stack can be implemented in python using the following ways :