What is insertion and deletion in a stack?

Answer:

Insertion operation on a stack means to PUSH to a stack and

deletion operation on a stack means to POP   from the stack.

PUSH AND POP OPERATIONS IN STACK - Teachoo.png

Remove Ads

Transcript

What is insertion and deletion in a stack? Insertion operation on a stack means to PUSH to a stack and deletion operation on a stack means to POP from the stack.

Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.