Method ADT.Priority_queue()->pop()


Method pop

mixed pop()

Description

Removes and returns the item on top of the heap, which also is the smallest value in the heap.