Stacks
Stack is a type of container with restricted access that stores a linear collection.
The Stack ADT
- The stack stores data in last-in first-out protocol
- Top of the stack is where new items are added, or existing items are removed from the same end.
- Base is the opposite end.