import { BinaryHeap } from "https://deno.land/std@0.208.0/data_structures/mod.ts";
Creates a new binary heap from an array like or iterable object.
Parameters
collection: ArrayLike<T> | Iterable<T> | BinaryHeap<T>
import { BinaryHeap } from "https://deno.land/std@0.208.0/data_structures/mod.ts";
Creates a new binary heap from an array like or iterable object.