Creates a new max-heap instance, optionally initialized with elements.
The type of max-heap array.
Optional
Array of unsorted heap elements to initialize with.
A new max-heap instance.
Creates a new max-heap instance, optionally initialized with elements.