Method ADT.Heap()->low_peek()


Method low_peek

Element low_peek()

Description

Returns the Element on top of the heap (which is also the one with the smallest value in the heap) without removing it.

Returns

Returns the smallest Element on the heap if any, and UNDEFINED otherwise.

See also

peek(), low_pop(), pop()