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

 Explain Applications of Stack ? 


View

Explain Dequeues- Double Ended Queues ? 


View

Explain Conversion to Infix expression to Postfix expression


View

Explain simple queue ? Brief disadvantages of simple queue.


View

Explain Algorithm for Enqueue operation  and Algorithm for Dequeue operation using array ? 


View

Explain about Implementation of Queue ? 


View

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


View