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