Keyword | Definition |
---|---|
Peek | The operation of retrieving the topmost element from the stack without removing it. |
Pop | The operation of removing the topmost element from the stack. |
Push | The operation of adding an element to the top of the stack. |
Stack | A data structure that follows the Last-In-First-Out (LIFO) principle. |