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