A stack is a
linear
data structure that follows a particular order in which operations are performed
A Stack is a data structure that follows the
LIFO (Last-In-First-Out)
principle
A stack is a
dynamic
data structure that can grow and shrink as needed.
A stack can have
any
abstract data type as an element.
The fundamental
operations
of a stack are push and pop.
A stack can be
implemented
using an array or a linked list.
Common
applications
of stacks include undo/redo functionality in text editors, reversing the elements of a list, etc
Everything about array in data structure