A
stack is a Last In, First Out (LIFO
?)
data structure that is very common in
computer science. A stack is only accessable at one end (usually called the top). An operation that adds an element to a stack is called a push
? and one that removes an element is called a
pop.
Many [computer archeticture]?s use stacks to handle data and memory addresses (they are called stack-based architectures).