Primitive operation in Stack

Share:

Primitive operation in Stack


the primitive operation that can be done on the stack are insertions and deeletions.these operation are given special names called pop and push

POP



  • it is a primitive operation

  • It is used to add a new element into the stack


PUSH



  • it is a primitive operation

  • it is used to remove a element in stack


 

No comments