Stack
A "stack" is an Abstract Data Type (ADT), commonly used in most programming languages. It is named stack as it behaves like a real-world stack, for example – a deck of cards or a pile of plates, etc. A real-world stack allows operations at one end only.
It has one ended operation defined on it and follows LIFO structure (Last In First Out).Types of Expression
Programs:
Last updated