Given a heap aHeap, returns its root, which is the minimal element inside the heap. Raises an error if the heap is empty.
aHeap
the heap to consider
the minimal element inside aHeap
Given a heap
aHeap
, returns its root, which is the minimal element inside the heap. Raises an error if the heap is empty.