Queues
Queues
复制标题
队列
DOI:
--
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
B. Upadhyaya
中科院分区:
文献类型:
--
作者:
B. Upadhyaya
A queue is simply a waiting line that grows by adding elements to its end and shrinks by removing elements from the front. Compared to stack, it reflects the more commonly used maxim in real-world, namely, “first come, first served”. Waiting lines in supermarkets, banks, food counters are common examples of queues. A formal definition of queue as a data structure: It is a list from which items may be deleted at one end (front) and into which items may be inserted at the other end (rear). It is also referred to as a first-in-first-out (FIFO) data structure.