Heaps What is a heap? Answer A heap is a tree-based data structure that satisfies the heap property:In a min-heap, each parent node is less than or equal to its children.In a max-heap, each parent node is greater than or equal to its children. ← Back to collection Mark as complete ← Previous question Trees: Traversal Methods Next question Hash Map Pattern →