@@ -5,22 +5,23 @@ _Read this in other languages:_
5
5
[ _ Русский_ ] ( README.ru-RU.md ) ,
6
6
[ _ 日本語_ ] ( README.ja-JP.md ) ,
7
7
[ _ Français_ ] ( README.fr-FR.md ) ,
8
- [ _ Português_ ] ( README.pt-BR.md ) , [ _ 한국어_ ] ( README.ko-KR.md )
8
+ [ _ Português_ ] ( README.pt-BR.md ) ,
9
+ [ _ 한국어_ ] ( README.ko-KR.md )
9
10
10
- In computer science, a ** queue** is a particular kind of abstract data
11
- type or collection in which the entities in the collection are
12
- kept in order and the principle (or only) operations on the
13
- collection are the addition of entities to the rear terminal
14
- position, known as enqueue, and removal of entities from the
15
- front terminal position, known as dequeue. This makes the queue
16
- a First-In-First-Out (FIFO) data structure. In a FIFO data
17
- structure, the first element added to the queue will be the
18
- first one to be removed. This is equivalent to the requirement
19
- that once a new element is added, all elements that were added
20
- before have to be removed before the new element can be removed.
21
- Often a peek or front operation is also entered, returning the
22
- value of the front element without dequeuing it. A queue is an
23
- example of a linear data structure, or more abstractly a
11
+ In computer science, a ** queue** is a particular kind of abstract data
12
+ type or collection in which the entities in the collection are
13
+ kept in order and the principle (or only) operations on the
14
+ collection are the addition of entities to the rear terminal
15
+ position, known as enqueue, and removal of entities from the
16
+ front terminal position, known as dequeue. This makes the queue
17
+ a First-In-First-Out (FIFO) data structure. In a FIFO data
18
+ structure, the first element added to the queue will be the
19
+ first one to be removed. This is equivalent to the requirement
20
+ that once a new element is added, all elements that were added
21
+ before have to be removed before the new element can be removed.
22
+ Often a peek or front operation is also entered, returning the
23
+ value of the front element without dequeuing it. A queue is an
24
+ example of a linear data structure, or more abstractly a
24
25
sequential collection.
25
26
26
27
Representation of a FIFO (first in, first out) queue
0 commit comments