import { BinaryHeap } from "https://deno.land/std@0.148.0/collections/binary_heap.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.148.0/collections/binary_heap.ts";
Creates a new binary heap from an array like or iterable object.