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



Discussion

No Comment Found