Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Heap

Data Structure

A tree-shaped structure satisfying the heap property, that every parent is ordered relative to its children, so the minimum or maximum element is always at the root; the usual implementation behind a priority queue and behind heapsort.

Facts
Origin Year
1964 1
Core Principle
A complete tree where every node has a key more extreme (greater or less) than or equal to the key of its parent. Usually understood to be a binary heap. 2
Connections

In Field

Sources
1. Binary heap, Wikipedia
Lead section
Quote, Lead section
The binary heap was introduced by J. W. J. Williams in 1964 as a data structure for implementing heapsort.
View the Source
2. heap, Dictionary of Algorithms and Data Structures, NIST
Definition
Quote, Definition
A complete tree where every node has a key more extreme (greater or less) than or equal to the key of its parent. Usually understood to be a binary heap.
View the Source
Frequently Asked Questions

Who introduced the binary heap and why?

J. W. J. Williams introduced it in 1964 to implement heapsort.

The binary heap was introduced by J. W. J. Williams in 1964 as a data structure for implementing heapsort. It is a complete tree in which every node has a key more extreme than or equal to the key of its parent, and the term heap is usually understood to mean a binary heap.
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.