Data Structures Question:
Download Job Interview Questions and Answers PDF
What does isEmpty() member method determines?
Answer:
isEmpty() checks if the stack has at least one element. This method is called by Pop() before retrieving and returning the top element.
Download Data Structures Interview Questions And Answers
PDF
Previous Question | Next Question |
What method removes the value from the top of a stack? | What is a queue in data structure? |