Method ADT.Heap()->peek()
- Method peek
mixed peek()
- Description
Returns the item on top of the heap (which is also the smallest value in the heap) without removing it.
mixed peek()
Returns the item on top of the heap (which is also the smallest value in the heap) without removing it.