Method ADT.Heap()->top()
- Method top
__deprecated__ mixed top()
- Description
Removes and returns the item on top of the heap, which also is the smallest value in the heap.
- Deprecated
Replaced by pop.
__deprecated__ mixed top()
Removes and returns the item on top of the heap, which also is the smallest value in the heap.
Replaced by pop.