Computer Science, asked by gauravanarase12345, 2 months ago

any 2 stack methods?​

Answers

Answered by yogeshdayma9820
0

Answer:

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