Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


A stack is a kind of data structure that is used to store a collection of objects; objects are stored using push operation and objects are retrieved using pop operation.
0 0 0

This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
A stack is an abstract data structure that is used to store data (in main memory) in a particular method.  It is a way of organizing memory.

It is like a narrow box or bin. You can add books to it from the top one by one and you can only remove books from top one by one. The other end is closed.

It is also like a pile of books or bricks on a table.

It is used in computer science, for implementation of evaluation of functions and  evaluation of recursive expressions.  It is used by the computer or calculator while find the result of any arithmetic expression like:  3 + 9 - 38 + 8*9 + (9/4)².

0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts