Friday, 8 February 2013

STACK | Data Structures Tutorial pdf

STACK

Stack can be defined as a linear collection of data elements such that both insertion and deletion take place on top of stack.stack is based on LIFO(last in first out).
TOP-Top is pointer to uppermost element os stack.Both insertion and deletion takes place at top.
PUSH-Push indicates the insertion operation on stack.Insertion takes place at top of stack.
POP-Pop indicates the deletion operation on stack.Deletion also takes place from top of stack.

No comments: