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 stacks using dynamic arrays ? 


View

Define stacks. Explain various operation of stacks ? 


View

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


View

 Explain Applications of Stack ? 


View

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


View

Explain Ackermann function in details ?


View

Explain Fibonacci Sequence ? 


View