Link Details

Link 969907 thumbnail
User 225256 avatar

By mswatcher
Submitted: May 16 2013 / 11:54

A queue is a data type used to store a collection of items and which has the following properties: Elements can be added to the queue Elements can be removed from the queue, but only in the order in which they were added Adding an item is known as a Enqueue operation.  Removing an item is known as a Dequeue  operation. You can think of a queue data type as being like people standing in a line.  You can enter the line only at the back (Enqueue) and you can leave the line, but only from the front (Dequeue).
  • 2
  • 0
  • 100
  • 64

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)

Voters Against This Link (0)

    Debugging JavaScript
    Written by: Ashutosh Sharma
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Java EE7
    2. Spring Annotations
    3. Git
    4. Java
    5. REST