Computer Science, asked by satyamallipati, 8 months ago

what is the meaning of stack. and explain it ?

Answers

Answered by billupatithanusri999
1

Answer:

In computing, a stack is a data structure used to store a collection of objects. Individual items can be added and stored in a stack using a push operation. LIFO stacks, for example, can be used to retrieve recently used objects, from a cache. .

Stacks are used to implement functions, parsers, expression evaluation, and backtracking algorithms. A pile of books, a stack of dinner plates, a box of pringles potato chips can all be thought of examples of stacks. The basic operating principle is that last item you put in is first item you can take out.

Similar questions