poll

suspend fun poll(): Float

Removes and returns the head of the heap

Return

the head of the heap, the smallest value

Throws

if the heap is empty