Given a heap aHeap, return a new heap with the same elements but without the root (the minimal element inside the heap). Raises an error if the heap is empty.
aHeap
the heap to consider
a new heap with the same elements as aHeap but its minimal value
Given a heap
aHeap
, return a new heap with the same elements but without the root (the minimal element inside the heap). Raises an error if the heap is empty.