Data structures & algorithmsLesson 3 of 5 in the course Trees and hashing
Binary Heaps: Ordering, Array Operations, and Applications
5 flashcards · 5 quiz questions · 5 match pairs · 4 fill-in sentences · English
Lesson progress
0 / 5
Your progress is kept in this browser only.Sign up to save it
Summary
A heap is a tree-based data structure designed to make the highest- or lowest-priority item easy to access. This lesson introduces the heap property, max-heaps and min-heaps, and the ways heaps differ from fully sorted trees.
A heap is a tree in which every node is related to its parent according to a rule called the heap property. The top node, which has no parent, is the root.
All flashcards
Quiz questions
Based on the Wikipedia article Heap (data structure), licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.
More in Data structures & algorithms
All Data structures & algorithms lessonsData structures & algorithmsMerge Sort: Algorithms, Complexity, Variants, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsSearch Algorithms: Data Retrieval, State Spaces, and Specialized Methods5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsBinary Search Trees: Ordering, Operations, Height, and Uses5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsTrie Structure, Operations, Compression, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsSorting Algorithms: Correctness, Stability, Methods, and Trade-offs5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsAVL Trees: Balance, Rotations, Updates, and Set Operations5 flashcards · 5 quiz questions · 4 gamesPlay free →