Binary heap
A binary heap is a heap data structure that takes the form of a binary tree. Binary heaps are a common way of implementing priority queues. The binary heap was introduced by J. W. J. Williams in 1964 as a data structure for implementing heapsort. A binary heap is defined as a binary tree with two additional constraints: *Shape property: a binary heap is a complete binary tree; that is, all levels of the tree, except possibly the last one (deepest) are fully filled, and, if the last level of the tree is not complete, the nodes of that level are filled from left to right. *Heap property: the key stored in each node is either greater than or equal to (≥) (or less than or equal to (≤)) the keys in the node's children, according to some total order. Heaps where the parent key is greater than or equal to (≥) the child keys are called max-heaps; those where it is less than or equal to (≤) are called min-heaps. Efficient (that is, logarithmic time) algorithms are known for the two operations needed to implement a priority queue on a binary heap: *Inserting an element; *Removing the smallest or largest element from (respectively) a min-heap or max-heap.…
A binary heap is a heap data structure that takes the form of a binary tree. Binary heaps are a common way of implementing priority queues. The binary heap was introduced by J. W. J. Williams in 1964 as a data structure for implementing heapsort. A binary heap is defined as a binary tree with two additional constraints: Shape property: a binary heap is a complete binary tree; that is, all levels of the tree, except possibly the last one (deepest) are fully filled, and, if the last level of the tree is not complete, the nodes of that level are filled from left to right. Heap property: the key stored in each node is either greater than or equal to (≥) (or less than or equal to (≤)) the keys in the node's children, according to some total order. Heaps where the parent key is greater than or equal to (≥) the child keys are called max-heaps; those where it is less than or equal to (≤) are called min-heaps. Efficient (that is, logarithmic time) algorithms are known for the two operations needed to implement a priority queue on a binary heap: Inserting an element; Removing the smallest or largest element from (respectively) a min-heap or max-heap. Binary heaps are also commonly employed in the heapsort sorting algorithm, which is an in-place algorithm as binary heaps can be implemented as an implicit data structure, storing keys in an array and using their relative positions within that array to represent child–parent relationships. ==Heap operations== Both the insert and remove operations modify the heap to preserve the shape property first, by adding or removing from the end of the heap. Then the heap property is restored by traversing up or down the heap. Both operations take time. === Extract=== The procedure for deleting the root from the heap (effectively extracting the maximum element in a max-heap or the minimum element in a min-heap) while retaining the heap property is as follows: Replace the root of the heap with the last element on the last level. Compare the new root with its children; if they are in the correct order, stop. If not, swap the element with one of its children and return to the previous step. (Swap with its smaller child in a min-heap and its larger child in a max-heap.) Steps 2 and 3, which restore the heap property by comparing and possibly swapping a node with one of its children, are called the down-heap (also known as bubble-down, percolate-down, sift-down, sink-down, trickle down, heapify-down, cascade-down, fix-down, extract-min or extract-max, or simply heapify) operation. So, if we have the same max-heap as before, we remove the 11 and replace it with the 4. Now the heap property is violated since 8 is greater than 4. In this case, swapping the two elements, 4 and 8, is enough to restore the heap property and we need not swap elements further. The downward-moving node is swapped with the larger of its children in a max-heap (in a min-heap it would be swapped with its smaller child), until it satisfies the heap property in its new position. This functionality is achieved by the Max-Heapify function as defined below in pseudocode for an array-backed heap A of length length(A). A is indexed starting at 1. // Perform a down-heap or heapify-down operation for a max-heap // A: an array representing the heap, indexed starting at 1 // i: the index to start at when heapifying down Max-Heapify(A, i): left ← 2×i right ← 2×i + 1 largest ← i if left ≤ length(A) and A[left] > A[largest] then: largest ← left if right ≤ length(A) and A[right] > A[largest] then: largest ← right if largest ≠ i then: swap A[i] and A[largest] Max-Heapify(A, largest) For the above algorithm to correctly re-heapify the array, no nodes besides the node at index i and its two direct children can violate the heap property. The down-heap operation (without the preceding swap) can also be used to modify the value of the root, even when an element is not being deleted. In the worst case, the new root has to be swapped with its child on each level until it reaches the bottom level of the heap, meaning that the delete operation has a time complexity relative to the height of the tree, or O(log n). ==Building a heap (Heapify)== Building a heap from an array of input elements can be done by starting with an empty heap, then successively inserting each element. Equivalently, the heap may be constructed by first arbitrarily placing the elements into the binary tree, then up-heapifying each node successively, which allows in-place heapification. This approach, called Williams' method after the inventor of binary heaps, is easily seen to run in time: it performs insertions at cost each. However, Williams' method is suboptimal. A faster method (due to Floyd ) starts by arbitrarily putting the elements on a binary tree, respecting the shape property (the tree could be represented by an array, see below). Then starting from the lowest level and moving upwards, sift the root of each subtree downward as in the deletion algorithm until the heap property is restored. More specifically if all the subtrees starting at some height h have already been "heapified" (the bottommost level corresponding to h=0 ), the trees at height h+1 can be heapified by sending their root down along the path of maximum valued children when building a max-heap, or minimum valued children when building a min-heap. This process takes O(h) operations (swaps) per node. In this method most of the heapification takes place in the lower levels. Since the height of the heap is \lfloor \log n \rfloor , the number of nodes at height h is \le \frac{2^{\lfloor \log n \rfloor}}{2^h} \le \frac{n}{2^h} . Therefore, the cost of heapifying all subtrees is: \begin{align} \sum_{h=0}^{\lfloor \log n \rfloor} \frac{n}{2^h} O(h) & = O\left(n\sum_{h=0}^{\lfloor \log n \rfloor} \frac{h}{2^h}\right) \\ & = O\left(n\sum_{h=0}^{\infty} \frac{h}{2^h}\right) \\ & = O(n) \end{align} This uses the fact that the given infinite series \sum_{i=0}^\infty i/2^i converges. The exact value of the above (the worst-case number of comparisons during the heap construction) is known to be equal to: 2 n - 2 s_2 (n) - e_2 (n) , where is the sum of all digits of the binary representation of and is the exponent of in the prime factorization of . The average case is more complex to analyze, but it can be shown to asymptotically approach comparisons. The Build-Max-Heap function that follows, converts an array A which stores a complete binary tree with n nodes to a max-heap by repeatedly using Max-Heapify (down-heapify for a max-heap) in a bottom-up manner. The array elements indexed by , , ..., n are all leaves for the tree (assuming that indices start at 1)—thus each is a one-element heap, and does not need to be down-heapified. Build-Max-Heap runs Max-Heapify on each of the remaining tree nodes. Build-Max-Heap (A): for each index i from floor(length(A)/2) downto 1 do: Max-Heapify(A, i) Only index i = b−1 can violate the heap property. Let j be the index of the largest child of a[i] (for a max-heap, or the smallest child for a min-heap) within the range b, ..., e. (If no such index exists because then the heap property holds for the newly extended range and nothing needs to be done.) By swapping the values a[i] and a[j] the heap property for position i is established. At this point, the only problem is that the heap property might not hold for index j. The sift-down function is applied tail-recursively to index j until the heap property is established for all elements. The sift-down function is fast. In each step it only needs two comparisons and one swap. The index value where it is working doubles in each iteration, so that at most log 2 e steps are required. For big heaps and using virtual memory, storing elements in an array according to the above scheme is inefficient: (almost) every level is in a different page. B-heaps are binary heaps that keep subtrees in a single page, reducing the number of pages accessed by up to a factor of ten. The operation of merging two binary heaps takes Θ(n) for equal-sized heaps. The best you can do is (in case of array implementation) simply concatenating the two heap arrays and build a heap of the result. A heap on n elements can be merged with a heap on k elements using O(log n log k) key comparisons, or, in case of a pointer-based implementation, in O(log n log k) time. An algorithm for splitting a heap on n elements into two heaps on k and n-k elements, respectively, based on a new view of heaps as an ordered collections of subheaps was presented in. The algorithm requires O(log n * log n) comparisons. The view also presents a new and conceptually simple algorithm for merging heaps. When merging is a common task, a different heap implementation is recommended, such as binomial heaps, which can be merged in O(log n). Additionally, a binary heap can be implemented with a traditional binary tree data structure, but there is an issue with finding the adjacent element on the last level on the binary heap when adding an element. This element can be determined algorithmically or by adding extra data to the nodes, called "threading" the tree—instead of merely storing references to the children, we store the inorder successor of the node as well. It is possible to modify the heap structure to make the extraction of both the smallest and largest element possible in O (\log n) time. To do this, the rows alternate between min heap and max-heap. The algorithms are roughly the same, but, in each step, one must consider the alternating rows with alternating comparisons. The performance is roughly the same as a normal single direction heap. This idea can be generalized to a min-max-median heap. For a general node located at index (beginning from 0), we will first derive the index of its right child, \text{right} = 2i + 2 . Let node be located in level , and note that any level contains exactly 2^l nodes. Furthermore, there are exactly 2^{l + 1} - 1 nodes contained in the layers up to and including layer (think of binary arithmetic; 0111...111 = 1000...000 - 1). Because the root is stored at 0, the th node will be stored at index (k - 1) . Putting these observations together yields the following expression for the index of the last node in layer . \text{last}(l) = (2^{l + 1} - 1) - 1 = 2^{l + 1} - 2 Let there be nodes after node in layer L, such that \begin{alignat}{2} i = & \quad \text{last}(L) - j\\ If the root is located at index 1 instead of 0, the last node in each level is instead at index 2^{l + 1} - 1 . Using this throughout yields \text{left} = 2i and \text{right} = 2i + 1 for heaps with their root at 1. i = 2 \times (\text{parent}) + 1 i = 2 \times (\text{parent}) + 2 Hence, \text{parent} = \frac{i - 1}{2} \;\textrm{ or }\; \frac{i - 2}{2} Now consider the expression \left\lfloor \dfrac{i - 1}{2} \right\rfloor . If node i is a left child, this gives the result immediately, however, it also gives the correct result if node i is a right child. In this case, (i - 2) must be even, and hence (i - 1) must be odd. \begin{alignat}{2} \left\lfloor \dfrac{i - 1}{2} \right\rfloor = & \quad \left\lfloor \dfrac{i - 2}{2} + \dfrac{1}{2} \right\rfloor\\ = & \quad \frac{i - 2}{2}\\ ==Related structures== Since the ordering of siblings in a heap is not specified by the heap property, a single node's two children can be freely interchanged unless doing so violates the shape property (compare with treap). Note, however, that in the common array-based heap, simply swapping the children might also necessitate moving the children's sub-tree nodes to retain the heap property. The binary heap is a special case of the d-ary heap in which d = 2. ==Summary of running times== ==References== ==External links== Open Data Structures - Section 10.1 - BinaryHeap: An Implicit Binary Tree, Pat Morin Implementation of binary max heap in C by Robin Thomas Implementation of binary min heap in C by Robin Thomas
References
- Elementary Yet Precise Worst-Case Analysis of Floyd's Heap-Construction Program · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Elementary Yet Precise Worst-Case Analysis of Floyd's Heap-Construction Program." Suchenek, Marek A. 2026-11-18. http://www.deepdyve.com/lp/ios-press/elementary-yet-precise-worst-case-analysis-of-floyd-s-heap-50NW30HMxU. Accessed 24 November 2026.
Chicago "Elementary Yet Precise Worst-Case Analysis of Floyd's Heap-Construction Program." Suchenek, Marek A. 2026-11-18. http://www.deepdyve.com/lp/ios-press/elementary-yet-precise-worst-case-analysis-of-floyd-s-heap-50NW30HMxU.
APA Suchenek, Marek A. (2026). Elementary Yet Precise Worst-Case Analysis of Floyd's Heap-Construction Program. Retrieved November 24, 2026, from http://www.deepdyve.com/lp/ios-press/elementary-yet-precise-worst-case-analysis-of-floyd-s-heap-50NW30HMxU
- This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort algorithm. Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort algorithm. Wikipedia revision 1371608911, retrieved 2026-11-19." This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort. 2026-11-18. https://en.wikipedia.org/wiki/Heapsort. Accessed 24 November 2026.
Chicago "This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort algorithm. Wikipedia revision 1371608911, retrieved 2026-11-19." This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort. 2026-11-18. https://en.wikipedia.org/wiki/Heapsort.
APA This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort. (2026). This does not mean that sorting can be done in linear time since building a heap is only the first step of the heapsort algorithm. Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Heapsort
- An Average Case Analysis of Floyd's Algorithm to Construct Heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "An Average Case Analysis of Floyd's Algorithm to Construct Heaps." Doberkat, Ernst E. 2026-11-18. https://core.ac.uk/download/pdf/82135122.pdf. Accessed 24 November 2026.
Chicago "An Average Case Analysis of Floyd's Algorithm to Construct Heaps." Doberkat, Ernst E. 2026-11-18. https://core.ac.uk/download/pdf/82135122.pdf.
APA Doberkat, Ernst E. (2026). An Average Case Analysis of Floyd's Algorithm to Construct Heaps. Retrieved November 24, 2026, from https://core.ac.uk/download/pdf/82135122.pdf
- siftup · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "siftup." Pasanen, Tomi (November 1996). 2026-11-18. https://en.wikipedia.org/wiki/CiteSeerX_(identifier). Accessed 24 November 2026.
Chicago "siftup." Pasanen, Tomi (November 1996). 2026-11-18. https://en.wikipedia.org/wiki/CiteSeerX_(identifier).
APA Pasanen, Tomi (November 1996). (2026). siftup. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/CiteSeerX_(identifier)
- You're Doing It Wrong · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "You're Doing It Wrong." Kamp, Poul-Henning (June 11, 2010). 2026-11-18. http://queue.acm.org/detail.cfm?id=1814327. Accessed 24 November 2026.
Chicago "You're Doing It Wrong." Kamp, Poul-Henning (June 11, 2010). 2026-11-18. http://queue.acm.org/detail.cfm?id=1814327.
APA Kamp, Poul-Henning (June 11, 2010). (2026). You're Doing It Wrong. Retrieved November 24, 2026, from http://queue.acm.org/detail.cfm?id=1814327
- binary heap · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "binary heap." Chris L. 2026-11-18. http://nist.gov/dads/HTML/binaryheap.html. Accessed 24 November 2026.
Chicago "binary heap." Chris L. 2026-11-18. http://nist.gov/dads/HTML/binaryheap.html.
APA Chris L. (2026). binary heap. Retrieved November 24, 2026, from http://nist.gov/dads/HTML/binaryheap.html
- An Algorithm for Merging Heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "An Algorithm for Merging Heaps." J. 2026-11-18. https://en.wikipedia.org/wiki/J%C3%B6rg-R%C3%BCdiger_Sack. Accessed 24 November 2026.
Chicago "An Algorithm for Merging Heaps." J. 2026-11-18. https://en.wikipedia.org/wiki/J%C3%B6rg-R%C3%BCdiger_Sack.
APA J. (2026). An Algorithm for Merging Heaps. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/J%C3%B6rg-R%C3%BCdiger_Sack
- A characterization of heaps and its applications · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "A characterization of heaps and its applications." Sack, Jörg-Rüdiger ; Strothotte, Thomas (1990). 2026-11-18. https://en.wikipedia.org/wiki/J%C3%B6rg-R%C3%BCdiger_Sack. Accessed 24 November 2026.
Chicago "A characterization of heaps and its applications." Sack, Jörg-Rüdiger ; Strothotte, Thomas (1990). 2026-11-18. https://en.wikipedia.org/wiki/J%C3%B6rg-R%C3%BCdiger_Sack.
APA Sack, Jörg-Rüdiger ; Strothotte, Thomas (1990). (2026). A characterization of heaps and its applications. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/J%C3%B6rg-R%C3%BCdiger_Sack
- Algorithm 232 - Heapsort · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Algorithm 232 - Heapsort." Williams, J. 2026-11-18. https://en.wikipedia.org/wiki/J._W._J._Williams. Accessed 24 November 2026.
Chicago "Algorithm 232 - Heapsort." Williams, J. 2026-11-18. https://en.wikipedia.org/wiki/J._W._J._Williams.
APA Williams, J. (2026). Algorithm 232 - Heapsort. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/J._W._J._Williams
- make-heap is the operation of building a heap from a sequence of n unsorted elements. It can be done in Θ ( n ) time whenever meld runs in O (log n ) time (where both complexities can be amortized). [ 18 ] [ 19 ] Another algorithm achieves Θ ( n ) for binary heaps. [ 20 ] Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "make-heap is the operation of building a heap from a sequence of n unsorted elements. It can be done in Θ ( n ) time whenever meld runs in O (log n ) time (where both complexities can be amortized). [ 18 ] [ 19 ] Another algorithm achieves Θ ( n ) for binary heaps. [ 20 ] Wikipedia revision 1371608911, retrieved 2026-11-19." make-heap is the operation of building a heap from a sequence of n unsorted elements. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1371608911. Accessed 24 November 2026.
Chicago "make-heap is the operation of building a heap from a sequence of n unsorted elements. It can be done in Θ ( n ) time whenever meld runs in O (log n ) time (where both complexities can be amortized). [ 18 ] [ 19 ] Another algorithm achieves Θ ( n ) for binary heaps. [ 20 ] Wikipedia revision 1371608911, retrieved 2026-11-19." make-heap is the operation of building a heap from a sequence of n unsorted elements. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1371608911.
APA make-heap is the operation of building a heap from a sequence of n unsorted elements. (2026). make-heap is the operation of building a heap from a sequence of n unsorted elements. It can be done in Θ ( n ) time whenever meld runs in O (log n ) time (where both complexities can be amortized). [ 18 ] [ 19 ] Another algorithm achieves Θ ( n ) for binary heaps. [ 20 ] Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1371608911
- Binomial Heap | Brilliant Math & Science Wiki · retrieved 2019-09-29 · rev 1371608911
Cite this reference
MLA "Binomial Heap | Brilliant Math & Science Wiki." 2019-09-29. https://brilliant.org/wiki/binomial-heap/. Accessed 24 November 2026.
Chicago "Binomial Heap | Brilliant Math & Science Wiki." 2019-09-29. https://brilliant.org/wiki/binomial-heap/.
APA encyclopegia.org. (2019). Binomial Heap | Brilliant Math & Science Wiki. Retrieved November 24, 2026, from https://brilliant.org/wiki/binomial-heap/
- 10.2. Structural Abstraction · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "10.2. Structural Abstraction." Okasaki, Chris (1998). 2026-11-18. https://en.wikipedia.org/wiki/Chris_Okasaki. Accessed 24 November 2026.
Chicago "10.2. Structural Abstraction." Okasaki, Chris (1998). 2026-11-18. https://en.wikipedia.org/wiki/Chris_Okasaki.
APA Okasaki, Chris (1998). (2026). 10.2. Structural Abstraction. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Chris_Okasaki
- Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. 12 Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. 12 Wikipedia revision 1371608911, retrieved 2026-11-19." Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. 2026-11-18. https://ir.canterbury.ac.nz/bitstream/handle/10092/14769/2-3heaps.pdf. Accessed 24 November 2026.
Chicago "Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. 12 Wikipedia revision 1371608911, retrieved 2026-11-19." Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. 2026-11-18. https://ir.canterbury.ac.nz/bitstream/handle/10092/14769/2-3heaps.pdf.
APA Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. (2026). Takaoka, Tadao (1999), Theory of 2–3 Heaps (PDF) , p. 12 Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://ir.canterbury.ac.nz/bitstream/handle/10092/14769/2-3heaps.pdf
- Binary Heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Binary Heaps." Y Narahari, "Binary Heaps" , Data Structures and Algorithms Wikipedia revision 1371608911, retrieved 2026-11-19. 2026-11-18. http://lcm.csa.iisc.ernet.in/dsa/node137.html. Accessed 24 November 2026.
Chicago "Binary Heaps." Y Narahari, "Binary Heaps" , Data Structures and Algorithms Wikipedia revision 1371608911, retrieved 2026-11-19. 2026-11-18. http://lcm.csa.iisc.ernet.in/dsa/node137.html.
APA Y Narahari, "Binary Heaps" , Data Structures and Algorithms Wikipedia revision 1371608911, retrieved 2026-11-19. (2026). Binary Heaps. Retrieved November 24, 2026, from http://lcm.csa.iisc.ernet.in/dsa/node137.html
- Pettie, Seth (2005). Towards a Final Analysis of Pairing Heaps (PDF) . FOCS '05 Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science. pp. 174– 183. doi : 10.1109/SFCS.2005.75 . ISBN 0-7695-2468-0 . Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Pettie, Seth (2005). Towards a Final Analysis of Pairing Heaps (PDF) . FOCS '05 Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science. pp. 174– 183. doi : 10.1109/SFCS.2005.75 . ISBN 0-7695-2468-0 . Wikipedia revision 1371608911, retrieved 2026-11-19." Pettie, Seth (2005). 2026-11-18. http://web.eecs.umich.edu/~pettie/papers/focs05.pdf. Accessed 24 November 2026.
Chicago "Pettie, Seth (2005). Towards a Final Analysis of Pairing Heaps (PDF) . FOCS '05 Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science. pp. 174– 183. doi : 10.1109/SFCS.2005.75 . ISBN 0-7695-2468-0 . Wikipedia revision 1371608911, retrieved 2026-11-19." Pettie, Seth (2005). 2026-11-18. http://web.eecs.umich.edu/~pettie/papers/focs05.pdf.
APA Pettie, Seth (2005). (2026). Pettie, Seth (2005). Towards a Final Analysis of Pairing Heaps (PDF) . FOCS '05 Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science. pp. 174– 183. doi : 10.1109/SFCS.2005.75 . ISBN 0-7695-2468-0 . Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from http://web.eecs.umich.edu/~pettie/papers/focs05.pdf
- Rank-pairing heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Rank-pairing heaps." Haeupler, Bernhard; Sen, Siddhartha; Tarjan, Robert E. 2026-11-18. https://en.wikipedia.org/wiki/Robert_Tarjan. Accessed 24 November 2026.
Chicago "Rank-pairing heaps." Haeupler, Bernhard; Sen, Siddhartha; Tarjan, Robert E. 2026-11-18. https://en.wikipedia.org/wiki/Robert_Tarjan.
APA Haeupler, Bernhard; Sen, Siddhartha; Tarjan, Robert E. (2026). Rank-pairing heaps. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Robert_Tarjan
- Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. (2012). Strict Fibonacci heaps (PDF) . Proceedings of the 44th symposium on Theory of Computing - STOC '12. pp. 1177– 1184. doi : 10.1145/2213977.2214082 . ISBN 978-1-4503-1245-5 . Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. (2012). Strict Fibonacci heaps (PDF) . Proceedings of the 44th symposium on Theory of Computing - STOC '12. pp. 1177– 1184. doi : 10.1145/2213977.2214082 . ISBN 978-1-4503-1245-5 . Wikipedia revision 1371608911, retrieved 2026-11-19." Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. 2026-11-18. https://en.wikipedia.org/wiki/Gerth_St%C3%B8lting_Brodal. Accessed 24 November 2026.
Chicago "Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. (2012). Strict Fibonacci heaps (PDF) . Proceedings of the 44th symposium on Theory of Computing - STOC '12. pp. 1177– 1184. doi : 10.1145/2213977.2214082 . ISBN 978-1-4503-1245-5 . Wikipedia revision 1371608911, retrieved 2026-11-19." Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. 2026-11-18. https://en.wikipedia.org/wiki/Gerth_St%C3%B8lting_Brodal.
APA Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. (2026). Brodal, Gerth Stølting ; Lagogiannis, George; Tarjan, Robert E. (2012). Strict Fibonacci heaps (PDF) . Proceedings of the 44th symposium on Theory of Computing - STOC '12. pp. 1177– 1184. doi : 10.1145/2213977.2214082 . ISBN 978-1-4503-1245-5 . Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Gerth_St%C3%B8lting_Brodal
- Worst-Case Efficient Priority Queues · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Worst-Case Efficient Priority Queues." Brodal, Gerth S. 2026-11-18. https://en.wikipedia.org/wiki/Gerth_St%C3%B8lting_Brodal. Accessed 24 November 2026.
Chicago "Worst-Case Efficient Priority Queues." Brodal, Gerth S. 2026-11-18. https://en.wikipedia.org/wiki/Gerth_St%C3%B8lting_Brodal.
APA Brodal, Gerth S. (2026). Worst-Case Efficient Priority Queues. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Gerth_St%C3%B8lting_Brodal
- 7.3.6. Bottom-Up Heap Construction · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "7.3.6. Bottom-Up Heap Construction." Goodrich, Michael T. 2026-11-18. https://en.wikipedia.org/wiki/Michael_T._Goodrich. Accessed 24 November 2026.
Chicago "7.3.6. Bottom-Up Heap Construction." Goodrich, Michael T. 2026-11-18. https://en.wikipedia.org/wiki/Michael_T._Goodrich.
APA Goodrich, Michael T. (2026). 7.3.6. Bottom-Up Heap Construction. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Michael_T._Goodrich
- Random insertion into a priority queue structure · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Random insertion into a priority queue structure." Porter, Thomas; Simon, Istvan (Sep 1975). 2026-11-18. https://en.wikipedia.org/wiki/Bibcode_(identifier). Accessed 24 November 2026.
Chicago "Random insertion into a priority queue structure." Porter, Thomas; Simon, Istvan (Sep 1975). 2026-11-18. https://en.wikipedia.org/wiki/Bibcode_(identifier).
APA Porter, Thomas; Simon, Istvan (Sep 1975). (2026). Random insertion into a priority queue structure. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bibcode_(identifier)
- Data structures · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Data structures." Mehlhorn, Kurt; Tsakalidis, A. 2026-11-18. https://publikationen.sulb.uni-saarland.de/handle/20.500.11880/26179. Accessed 24 November 2026.
Chicago "Data structures." Mehlhorn, Kurt; Tsakalidis, A. 2026-11-18. https://publikationen.sulb.uni-saarland.de/handle/20.500.11880/26179.
APA Mehlhorn, Kurt; Tsakalidis, A. (2026). Data structures. Retrieved November 24, 2026, from https://publikationen.sulb.uni-saarland.de/handle/20.500.11880/26179
- python/cpython/heapq.py · retrieved 2020-08-06 · rev 1371608911
Cite this reference
MLA "python/cpython/heapq.py." "python/cpython/heapq. 2020-08-06. https://github.com/python/cpython/blob/master/Lib/heapq.py. Accessed 24 November 2026.
Chicago "python/cpython/heapq.py." "python/cpython/heapq. 2020-08-06. https://github.com/python/cpython/blob/master/Lib/heapq.py.
APA "python/cpython/heapq. (2020). python/cpython/heapq.py. Retrieved November 24, 2026, from https://github.com/python/cpython/blob/master/Lib/heapq.py
- heapq — Heap queue algorithm — Python 3.8.5 documentation · retrieved 2020-08-06 · rev 1371608911
Cite this reference
MLA "heapq — Heap queue algorithm — Python 3.8.5 documentation." "heapq — Heap queue algorithm — Python 3. 2020-08-06. https://docs.python.org/3/library/heapq.html#heapq.heappushpop. Accessed 24 November 2026.
Chicago "heapq — Heap queue algorithm — Python 3.8.5 documentation." "heapq — Heap queue algorithm — Python 3. 2020-08-06. https://docs.python.org/3/library/heapq.html#heapq.heappushpop.
APA "heapq — Heap queue algorithm — Python 3. (2020). heapq — Heap queue algorithm — Python 3.8.5 documentation. Retrieved November 24, 2026, from https://docs.python.org/3/library/heapq.html#heapq.heappushpop
- In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymptotic lower bound on the complexity. [ 1 ] : 167 In the average case (averaging over all permutations of n inputs), though, the method takes linear time. [ 8 ] Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymptotic lower bound on the complexity. [ 1 ] : 167 In the average case (averaging over all permutations of n inputs), though, the method takes linear time. [ 8 ] Wikipedia revision 1371608911, retrieved 2026-11-19." In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymp. 2026-11-18. https://en.wikipedia.org/wiki/Best,_worst_and_average_case. Accessed 24 November 2026.
Chicago "In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymptotic lower bound on the complexity. [ 1 ] : 167 In the average case (averaging over all permutations of n inputs), though, the method takes linear time. [ 8 ] Wikipedia revision 1371608911, retrieved 2026-11-19." In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymp. 2026-11-18. https://en.wikipedia.org/wiki/Best,_worst_and_average_case.
APA In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymp. (2026). In fact, this procedure can be shown to take Θ( n log n ) time in the worst case , meaning that n log n is also an asymptotic lower bound on the complexity. [ 1 ] : 167 In the average case (averaging over all permutations of n inputs), though, the method takes linear time. [ 8 ] Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Best,_worst_and_average_case
- a b c d Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. (1990). Introduction to Algorithms (1st ed.). MIT Press and McGraw-Hill. ISBN 0-262-03141-8 . Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "a b c d Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. (1990). Introduction to Algorithms (1st ed.). MIT Press and McGraw-Hill. ISBN 0-262-03141-8 . Wikipedia revision 1371608911, retrieved 2026-11-19." a b c d Cormen, Thomas H. 2026-11-18. https://en.wikipedia.org/wiki/Thomas_H._Cormen. Accessed 24 November 2026.
Chicago "a b c d Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. (1990). Introduction to Algorithms (1st ed.). MIT Press and McGraw-Hill. ISBN 0-262-03141-8 . Wikipedia revision 1371608911, retrieved 2026-11-19." a b c d Cormen, Thomas H. 2026-11-18. https://en.wikipedia.org/wiki/Thomas_H._Cormen.
APA a b c d Cormen, Thomas H. (2026). a b c d Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. (1990). Introduction to Algorithms (1st ed.). MIT Press and McGraw-Hill. ISBN 0-262-03141-8 . Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Thomas_H._Cormen
- On the Efficiency of Pairing Heaps and Related Data Structures · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "On the Efficiency of Pairing Heaps and Related Data Structures." Fredman, Michael Lawrence (July 1999). 2026-11-18. https://en.wikipedia.org/wiki/Michael_Fredman. Accessed 24 November 2026.
Chicago "On the Efficiency of Pairing Heaps and Related Data Structures." Fredman, Michael Lawrence (July 1999). 2026-11-18. https://en.wikipedia.org/wiki/Michael_Fredman.
APA Fredman, Michael Lawrence (July 1999). (2026). On the Efficiency of Pairing Heaps and Related Data Structures. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Michael_Fredman
- Fibonacci heaps and their uses in improved network optimization algorithms · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Fibonacci heaps and their uses in improved network optimization algorithms." Fredman, Michael Lawrence ; Tarjan, Robert E. 2026-11-18. https://en.wikipedia.org/wiki/Michael_Fredman. Accessed 24 November 2026.
Chicago "Fibonacci heaps and their uses in improved network optimization algorithms." Fredman, Michael Lawrence ; Tarjan, Robert E. 2026-11-18. https://en.wikipedia.org/wiki/Michael_Fredman.
APA Fredman, Michael Lawrence ; Tarjan, Robert E. (2026). Fibonacci heaps and their uses in improved network optimization algorithms. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Michael_Fredman
- Improved upper bounds for pairing heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Improved upper bounds for pairing heaps." Iacono, John (2000), "Improved upper bounds for pairing heaps", Proc. 2026-11-18. https://en.wikipedia.org/wiki/John_Iacono. Accessed 24 November 2026.
Chicago "Improved upper bounds for pairing heaps." Iacono, John (2000), "Improved upper bounds for pairing heaps", Proc. 2026-11-18. https://en.wikipedia.org/wiki/John_Iacono.
APA Iacono, John (2000), "Improved upper bounds for pairing heaps", Proc. (2026). Improved upper bounds for pairing heaps. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/John_Iacono
- a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of insert , while the new cost of delete-min is the sum of the old costs of delete-min and meld . [ 23 ] Here, it makes meld run in Θ (1) time (amortized, if the cost of insert is) while delete-min still runs in O (log n ). Applied to skew binomial heaps, it yields Brodal-Okasaki queues, persistent heaps with optimal worst-case complexities. [ 22 ] Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of insert , while the new cost of delete-min is the sum of the old costs of delete-min and meld . [ 23 ] Here, it makes meld run in Θ (1) time (amortized, if the cost of insert is) while delete-min still runs in O (log n ). Applied to skew binomial heaps, it yields Brodal-Okasaki queues, persistent heaps with optimal worst-case complexities. [ 22 ] Wikipedia revision 1371608911, retrieved 2026-11-19." a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of. 2026-11-18. https://en.wikipedia.org/wiki/Persistent_data_structure. Accessed 24 November 2026.
Chicago "a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of insert , while the new cost of delete-min is the sum of the old costs of delete-min and meld . [ 23 ] Here, it makes meld run in Θ (1) time (amortized, if the cost of insert is) while delete-min still runs in O (log n ). Applied to skew binomial heaps, it yields Brodal-Okasaki queues, persistent heaps with optimal worst-case complexities. [ 22 ] Wikipedia revision 1371608911, retrieved 2026-11-19." a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of. 2026-11-18. https://en.wikipedia.org/wiki/Persistent_data_structure.
APA a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of. (2026). a b c For persistent heaps (not supporting decrease-key ), a generic transformation reduces the cost of meld to that of insert , while the new cost of delete-min is the sum of the old costs of delete-min and meld . [ 23 ] Here, it makes meld run in Θ (1) time (amortized, if the cost of insert is) while delete-min still runs in O (log n ). Applied to skew binomial heaps, it yields Brodal-Okasaki queues, persistent heaps with optimal worst-case complexities. [ 22 ] Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Persistent_data_structure
- Optimal purely functional priority queues · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Optimal purely functional priority queues." a b Brodal, Gerth Stølting; Okasaki, Chris (November 1996), "Optimal purely functional priority queues", Journal of Func. 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Optimal purely functional priority queues." a b Brodal, Gerth Stølting; Okasaki, Chris (November 1996), "Optimal purely functional priority queues", Journal of Func. 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier).
APA a b Brodal, Gerth Stølting; Okasaki, Chris (November 1996), "Optimal purely functional priority queues", Journal of Func. (2026). Optimal purely functional priority queues. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- a b Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. ; Stein, Clifford (2009) [1990]. Introduction to Algorithms (3rd ed.). MIT Press and McGraw-Hill. ISBN 0-262-03384-4 . Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "a b Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. ; Stein, Clifford (2009) [1990]. Introduction to Algorithms (3rd ed.). MIT Press and McGraw-Hill. ISBN 0-262-03384-4 . Wikipedia revision 1371608911, retrieved 2026-11-19." a b Cormen, Thomas H. 2026-11-18. https://en.wikipedia.org/wiki/Thomas_H._Cormen. Accessed 24 November 2026.
Chicago "a b Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. ; Stein, Clifford (2009) [1990]. Introduction to Algorithms (3rd ed.). MIT Press and McGraw-Hill. ISBN 0-262-03384-4 . Wikipedia revision 1371608911, retrieved 2026-11-19." a b Cormen, Thomas H. 2026-11-18. https://en.wikipedia.org/wiki/Thomas_H._Cormen.
APA a b Cormen, Thomas H. (2026). a b Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. ; Stein, Clifford (2009) [1990]. Introduction to Algorithms (3rd ed.). MIT Press and McGraw-Hill. ISBN 0-262-03384-4 . Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Thomas_H._Cormen
- Average Case Analysis of Heap Building by Repeated Insertion · retrieved 2016-01-27 · rev 1371608911
Cite this reference
MLA "Average Case Analysis of Heap Building by Repeated Insertion." Hayward, Ryan; McDiarmid, Colin (1991). 2016-01-27. https://web.archive.org/web/20160205023201/http://www.stats.ox.ac.uk/__data/assets/pdf_file/0015/4173/heapbuildjalg.pdf. Accessed 24 November 2026.
Chicago "Average Case Analysis of Heap Building by Repeated Insertion." Hayward, Ryan; McDiarmid, Colin (1991). 2016-01-27. https://web.archive.org/web/20160205023201/http://www.stats.ox.ac.uk/__data/assets/pdf_file/0015/4173/heapbuildjalg.pdf.
APA Hayward, Ryan; McDiarmid, Colin (1991). (2016). Average Case Analysis of Heap Building by Repeated Insertion. Retrieved November 24, 2026, from https://web.archive.org/web/20160205023201/http://www.stats.ox.ac.uk/__data/assets/pdf_file/0015/4173/heapbuildjalg.pdf
- Average Case Analysis of Heap Building by Repeated Insertion · retrieved 2016-01-27 · rev 1371608911
Cite this reference
MLA "Average Case Analysis of Heap Building by Repeated Insertion." a b Hayward, Ryan; McDiarmid, Colin (1991). 2016-01-27. https://web.archive.org/web/20160205023201/http://www.stats.ox.ac.uk/__data/assets/pdf_file/0015/4173/heapbuildjalg.pdf. Accessed 24 November 2026.
Chicago "Average Case Analysis of Heap Building by Repeated Insertion." a b Hayward, Ryan; McDiarmid, Colin (1991). 2016-01-27. https://web.archive.org/web/20160205023201/http://www.stats.ox.ac.uk/__data/assets/pdf_file/0015/4173/heapbuildjalg.pdf.
APA a b Hayward, Ryan; McDiarmid, Colin (1991). (2016). Average Case Analysis of Heap Building by Repeated Insertion. Retrieved November 24, 2026, from https://web.archive.org/web/20160205023201/http://www.stats.ox.ac.uk/__data/assets/pdf_file/0015/4173/heapbuildjalg.pdf
- a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. They were first described as imperative data structures. The Brodal-Okasaki queue is a persistent data structure achieving the same optimum, except that decrease-key is not supported. Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. They were first described as imperative data structures. The Brodal-Okasaki queue is a persistent data structure achieving the same optimum, except that decrease-key is not supported. Wikipedia revision 1371608911, retrieved 2026-11-19." a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. 2026-11-18. https://en.wikipedia.org/wiki/Persistent_data_structure. Accessed 24 November 2026.
Chicago "a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. They were first described as imperative data structures. The Brodal-Okasaki queue is a persistent data structure achieving the same optimum, except that decrease-key is not supported. Wikipedia revision 1371608911, retrieved 2026-11-19." a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. 2026-11-18. https://en.wikipedia.org/wiki/Persistent_data_structure.
APA a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. (2026). a b Brodal queues and strict Fibonacci heaps achieve optimal worst-case complexities for heaps. They were first described as imperative data structures. The Brodal-Okasaki queue is a persistent data structure achieving the same optimum, except that decrease-key is not supported. Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Persistent_data_structure
- Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). [ 27 ] Wikipedia revision 1371608911, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). [ 27 ] Wikipedia revision 1371608911, retrieved 2026-11-19." Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1371608911. Accessed 24 November 2026.
Chicago "Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). [ 27 ] Wikipedia revision 1371608911, retrieved 2026-11-19." Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1371608911.
APA Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). (2026). Lower bound of Ω(loglogn), [ 26 ] upper bound of O(22loglogn). [ 27 ] Wikipedia revision 1371608911, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1371608911
- Self-Adjusting Heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Self-Adjusting Heaps." a b c Sleator, Daniel Dominic ; Tarjan, Robert Endre (February 1986). 2026-11-18. https://en.wikipedia.org/wiki/Daniel_Sleator. Accessed 24 November 2026.
Chicago "Self-Adjusting Heaps." a b c Sleator, Daniel Dominic ; Tarjan, Robert Endre (February 1986). 2026-11-18. https://en.wikipedia.org/wiki/Daniel_Sleator.
APA a b c Sleator, Daniel Dominic ; Tarjan, Robert Endre (February 1986). (2026). Self-Adjusting Heaps. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Daniel_Sleator
- Min-max heaps and generalized priority queues · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "Min-max heaps and generalized priority queues." Atkinson, M. 2026-11-18. https://en.wikipedia.org/wiki/Michael_D._Atkinson. Accessed 24 November 2026.
Chicago "Min-max heaps and generalized priority queues." Atkinson, M. 2026-11-18. https://en.wikipedia.org/wiki/Michael_D._Atkinson.
APA Atkinson, M. (2026). Min-max heaps and generalized priority queues. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Michael_D._Atkinson
- 3.3. Leftist heaps · retrieved 2026-11-18 · rev 1371608911
Cite this reference
MLA "3.3. Leftist heaps." a b Tarjan, Robert (1983). 2026-11-18. https://en.wikipedia.org/wiki/Robert_Tarjan. Accessed 24 November 2026.
Chicago "3.3. Leftist heaps." a b Tarjan, Robert (1983). 2026-11-18. https://en.wikipedia.org/wiki/Robert_Tarjan.
APA a b Tarjan, Robert (1983). (2026). 3.3. Leftist heaps. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Robert_Tarjan
Cite this article
MLA
"Binary heap." encyclopegia.org, 2026, https://encyclopegia.org/wiki/binary-heap. Accessed 24 November 2026.
Chicago
"Binary heap." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/binary-heap.
APA
encyclopegia.org. (2026). Binary heap. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/binary-heap
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON