Stack

From Wikipedia

HomePage | Recent changes | View source | Discuss this page | Page history | Log in |

Printable version | Disclaimers | Privacy policy

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 archetictures use stacks to handle data and memory addresses (they are called stack-based architectures).