javascript-algorithms/src/data-structures/priority-queue
Marcos Gonçalves ed99f9d216 Adds Portuguese (pt-BR) translation (#340)
* create portuguese translations

* renames `Lista Ligada` to `Lista Encadeada`

* revert changes on package-lock.json
2019-04-16 17:47:04 +03:00
..
__test__ Fix issue #315. 2019-04-12 09:02:03 +03:00
PriorityQueue.js Make it possible to use objects in priority queue. 2019-03-03 10:10:19 +02:00
README.ja-JP.md Add Japanese translation (#1) (#337) 2019-04-12 08:32:08 +03:00
README.md Adds Portuguese (pt-BR) translation (#340) 2019-04-16 17:47:04 +03:00
README.pt-BR.md Adds Portuguese (pt-BR) translation (#340) 2019-04-16 17:47:04 +03:00
README.ru-RU.md Translate Priority Queue. (#279) 2018-12-28 16:28:44 +02:00
README.zh-CN.md Partial translation of Simplified Chinese (#185) 2018-08-30 08:30:24 +03:00

Priority Queue

Read this in other languages: 简体中文 | Русский | 日本語 | Português

In computer science, a priority queue is an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a "priority" associated with it. In a priority queue, an element with high priority is served before an element with low priority. If two elements have the same priority, they are served according to their order in the queue.

While priority queues are often implemented with heaps, they are conceptually distinct from heaps. A priority queue is an abstract concept like "a list" or "a map"; just as a list can be implemented with a linked list or an array, a priority queue can be implemented with a heap or a variety of other methods such as an unordered array.

References