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