max-heap data structure

A max-heap data structure is a complete binary tree where the value of each parent node is greater than or equal to the values of its children nodes. This data structure is used to efficiently find and remove the maximum value in the heap.

Requires login.