1.

What Operations Can Be Performed On Queues?

Answer»

The below operations can be performed on a STACK:

  • enqueue() − adds an item to REAR of the queue
  • dequeue() − removes the item from FRONT of the queue
  • peek() − gives VALUE of front 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