cpp/algorithm/push heap

Inserts the element at the position into the  defined by the range. The first version of the function uses to compare the elements, the second uses the given comparison function.

Return value
(none)

Complexity
At most log(N) comparisons where.