Data structures & algorithmsLesson 2 of 2 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.