Given a heap aHeapI, remove its smallest element. Note that aHeapI is modified by this function.
aHeapI
the heap to consider
the minimal value inside aHeapI before removal
Given a heap
aHeapI
, remove its smallest element. Note thataHeapI
is modified by this function.