Computer Science, asked by israshakil10, 1 year ago

explain push and pop functions in stacks

Answers

Answered by Wolfman
0
Stack is a data structure that follows
LIFO
Last In First Out.
Top-> the index position were the insertion and deletion happens.

Push operation -> inserts the value to the top of stack
Pop Operation -> deletes or removes the value from the top of stack.
Similar questions