AlgorithmsSortingEdit on GitHubEdit history
Binary Heap
heap, priority queue1964
A priority queue that stores a complete binary tree in an array and keeps every parent greater than or equal to its children.
Origin
Lineage
Derived algorithms
Author statementWilliams's Algorithm 232 defines the heap data structure and presents a sort that uses it — doi:10.1145/512274.3734138
Structural analysisBy definition, priorities satisfy heap order
Structural analysisGeneralizes heap-ordered trees to a forest as a mergeable priority queue
Author statementMcCreight presented the priority search tree as a structure that combines the properties of a heap and a binary search tree. — doi:10.1137/0214021
Structural analysisThe leftist heap keeps the same heap order as the binary heap but uses a pointer-based tree instead of an array to make merging fast.
Reference workThe d-ary heap generalizes the number of children in a binary heap from two to d. — doi:10.1016/0020-0190(75)90001-0
Author statementThe min-max heap keeps the array representation of the binary heap while alternating min and max order between levels. — doi:10.1145/6617.6621
Notable implementations
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…