BinaryHeap
November 14, 2020 ยท View on GitHub
This is an abstract class
Represents a tree in which the value of each node is greater (MaxHeap
Properties
int Count Gets the number of elements contained in the BinaryHeap
bool IsEmpty Determines whether the BinaryHeap
Methods
void Push(T value) Inserts a new element into the BinaryHeap
T Pop() Removes the element at the root of the BinaryHeap
T Peek() Returns the value of the root of the BinaryHeap