Term
Stack underflow
Trying to pop or peek an empty stack. Both implementations check for emptiness before the operation.
The lesson that explains this term
Lessons that use this term
4.0What is a stack?4.1.4Peek: looking at the top4.2.3Pop: removing an element4.2.4Peek: looking at the top4.3.1Balanced parentheses4.3.3Evaluating a postfix expression4.4.1Stack: exam questions and answers5.3.3Dequeue: removing the front node5.5.3With an array: removing the highest priority5.5.5With a linked list: removing the highest priority