max heap

A max heap is a complete binary tree data structure in which the value of each parent node is greater than or equal to the values of its children nodes, making the maximum value always at the root.

Requires login.