What are the various operations performed on the Queue?

The various operations performed on the queue are

CREATE(Q) Creates Q as an empty Queue.

Enqueue(Q,X) Adds the element X to the Queue.

Dequeue(Q) Deletes a element from the Queue.

ISEMTPTY(Q) returns true if Queue is empty else false. ISFULL(Q) – returns true if Queue is full else false.



Leave a Reply