Method ADT.Heap()->top()
- Method
top
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.
mixed
top()
Removes and returns the item on top of the heap, which also is the smallest value in the heap.
Replaced by pop.