Inherits: BinaryHeap<T>
Represents a BinaryHeap in which the value of each node is greater than the value of all its children.
MaxHeap()
Initializes a new instance of MaxHeap that is empty and has the default initial capacity.
MaxHeap(IEnumerable<T> collection)
Initializes a new instance of MaxHeap that contains every element from the input collection and has enough capacity to accomodate the number of elements copied.
MaxHeap(int capacity)
Initializes a new instance of MaxHeap that is empty and has the specified initial capacity.
MaxHeap(IComparer<T> comparer)
Initializes a new instance of MaxHeap that is empty and uses the specified IComparer.
Check BinaryHeap
Check BinaryHeap