Clears a max-heap instance by removing all elements and their index mappings.
The type of max-heap array.
The max-heap instance to clear.
Clears a max-heap instance by removing all elements and their index mappings.