Creates a new min-heap instance, optionally initialized with elements.
The type of min-heap array.
Optional
Array of unsorted heap elements to initialize with. An element that appears more than once is added once. A value that is not an array is ignored.
A new min-heap instance
Creates a new min-heap instance, optionally initialized with elements.