Define stacks . Explain implementation of stacks ? 


==> Stacks--

  • A stack is linear Data Sturcture in which items are added (pushed, inserted) and removed(pop, deleted) from one end called top.
  • A stack is a container of objects that are inserted and removed according to the last-in first-out (LIFO) principle. In the stacks only two operations are allowed: push the item into the stack, and pop the item out of the stack


Share to whatsapp

More Questions from Data Structures and Algorithms Module 2

Define Priority Queue. Explain Application and implementation of Priority Queue ? 


View

Explain Multiple stacks ?


View

Explain stacks using dynamic arrays ? 


View

Explain about Implementation of Queue ? 


View

Explain Conversion to Infix expression to Postfix expression


View

Define Evaluation of Postfix expression. Explain algorithm and example for it ? 


View

Explain briefly Infix expression, Polish Notation and Reverse Polish Notation ?


View