- Stack
- Information is stored in such a way that
access to the
information follows a
Last In, First Out ordering
- Provides 2 (or 3) specific
data access operations on the
data stored:
- push():
insert a data item into the stack
- pop():
remove a data item from the stack
- peek():
examine the data item at the
top of the stack
|
|
|