What operations can be performed on Queues?

Added 3 years ago
Active
Viewed 954
Ans

The below operations can be performed on a queue −

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



Related Questions