Question DSA-STK-0006
EasyWhat is stack overflow?
- A.
A stack with one element
- B.
Popping from an empty stack
- C.
Show answer and explanation
Answer: C
Popping from an empty stack is stack underflow.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Stacks question
What is stack overflow?
A stack with one element
Popping from an empty stack
Answer: C
Popping from an empty stack is stack underflow.
Pushing onto a stack that is already full (or recursing too deeply)
Sorting a stack