Skip to main content
Go to Latest
method BinaryHeap.prototype.push
import { BinaryHeap } from "https://deno.land/std@0.145.0/collections/mod.ts";

Adds values to the binary heap.

Parameters

...values: T[]

Returns

number