Given a heap aHeap and a value aValue, inserts the value into the heap
aHeap
aValue
the heap to consider
the value to add to the heap
a new heap with all the elements of aHeap and aValue
Given a heap
aHeap
and a valueaValue
, inserts the value into the heap