max-heap

A max-heap is a complete binary tree data structure where each node holds a value that is greater than or equal to the values of its children. It follows a specific property known as the "max-heap property," which states that for any given node, its value is greater than or equal to the values of its children. This property ensures that the maximum value is always stored at the root of the heap.

Requires login.