Heaps
Explore the concept of heaps as binary trees optimized for sorting in C++. Learn to create, modify, check, and sort heaps using standard C++ algorithms while understanding sorting criteria and heap properties to write efficient code.
We'll cover the following...
We'll cover the following...

ℹ️ What is a heap?
A heap is a binary search tree in which parent elements are always bigger than its child elements. Heap trees are optimized for the efficient sorting of elements.
You can create with std::make_heap a heap. You can push with ...