Computer Science, asked by shalinidavidwar7441, 10 months ago

List different operation of stack.

Answers

Answered by piyushkamlapuri74
0

Mainly the following three basic operations are performed in the stack:

Push: Adds an item in the stack. If the stack is full, then it is said to be an Overflow condition.

Pop: Removes an item from the stack. ...

Peek or Top: Returns top element of stack.

isEmpty: Returns true if stack is empty, else false.

Similar questions