Queue

What is Queue?
Queue is another kind of  abstract data type or collection of data like Stack. Similarly in Queue there are mainly two operation we can perform on Queue that is PUSH and POP. In Queue we push data elements from end of Queue but POP form the beginning of Queue. Example Queue in Govt. Office, Water passing through pipe etc.
Queue (source wikimedia)

       Basically Queue is Last In First Out. That means the oldest data will be pop from queue.
PUSH means Enqueue and POP means Dequeue.

         Queues are also can be implemented using Linked list and Array data structure.

Click Here form Programs..

Popular posts from this blog

Shutdown Pc

Ellipse using OpenGl

String Comparisons