push method
Insert a value into the heap
Implementation
@override
void push(T value) {
_heap.add(value);
_heapifyUp(_heap.length - 1);
}
Insert a value into the heap
@override
void push(T value) {
_heap.add(value);
_heapifyUp(_heap.length - 1);
}