Q. What are Queues? Why can all operations be performed on Queues?


Answer =

Queues are the data structures where data is entered into the Queue at one end-the rear-end and deleted from the other end-the front, i.e., these follow first in, first out (FIFO) principle.
 
Following operations can be performed on Queues:

(i) Insertion of an element in the Queue
(ii) Deletion of an element from the Queue
(iii) Display of/viewing all the elements in the Queue

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post