Basic OperationsQueue operations may involve initializing or defining the queue, utilizing it, and then completely erasing it from the memory. Here we shall try to understand the basic operations associated with queues −enqueue() − add (store) an item to the queue.dequeue() − remove (access) an item from the queue.Few more functions are required to make the above-mentioned queue operation efficient. These are −peek() − Gets the element at the front of the queue without removing it.isfull() − Checks if the queue is full.isempty() − Checks if the queue is empty. - Study24x7
Social learning Network
22 Mar 2019 10:50 AM study24x7 study24x7

Basic Operations

Queue operations may involve initializing or defining the queue, utilizing it, and then completely erasing it from the memory. Here we shall try to understand the basic operations associated with queues −
enqueue() − add (store) an item to the ...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles