Courses & Projects

12. Heap with Complete Implementation in C++

Heap and its Implementation in C++

Heap with Complete Implementation in C++

A Heap is a type of Tree-based data structure in which the tree is a complete binary tree. Heaps can be classified into two types:
Max-Heap: The root node’s key must be the biggest among all of its offspring in a Max-Heap. For all subtrees of the Binary Tree, the same property must be true recursively.
Min-Heap: In a Min-Heap, the key present at the root node must be the smallest of all the keys present at all of its descendants. For all sub-trees of that Binary Tree, the same property must be true recursively.

All the details discuss with code in the video below:

[su_youtube url=”https://www.youtube.com/watch?v=y52WmXQhnBA&list=PLvefQOIyFZO8OZ4_1loaDGx94T43v9NBf&index=12″] [su_button id = “download” url=”https://drive.google.com/file/d/1Mo5mqLepbxiq102LHOEVT33Wrz6Yk9Yg/view?usp=sharing” target=”blank” center=”yes” radius=”10″ icon=”icon: arrow-down” desc=”Heap”]Download Now[/su_button]

Recommended:

Leave a Comment