What is stack?
--> Stack is the collection of objects accessed from one end. eg. pile of the plate in the kitchen. It has two primitive operations are: Push for addition and Pop for deletion. All the operation are on the top of the stack.
--> LIFO: last in first out
PUSH Operation &...