> For the complete documentation index, see [llms.txt](https://cathyatseneca.gitbook.io/data-structures-and-algorithms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cathyatseneca.gitbook.io/data-structures-and-algorithms/the_stack/stack_operations.md).

# Stack Operations

* **push** - add a new item to the stack
* **pop** - removes top item from the stack
* **initialize** - create an empty stack
* **isEmpty** - tests for whether or not stack is empty
* **isFull** - tests to see if stack is full and cannot grow (not always needed)
* **top** - looks at value of the top item but do not remove it
