push

fun push(element: Long): Long

Adds a value in log(size) time. Grows unbounded as needed to accommodate new values.

Return

the new 'top' element in the queue.