1.

What Operations Can Be Performed On Stacks?

Answer»

The below OPERATIONS can be performed on a stack:

  • PUSH() − adds an ITEM to stack
  • pop() − removes the top stack item
  • peek() − GIVES value of top item without removing it
  • ISEMPTY() − checks if stack is empty
  • isfull() − checks if stack is full

The below operations can be performed on a stack:



Discussion

No Comment Found