Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/collections/trees/bs_tree.ts

Collection data structures that are not standard built-in objects in JavaScript. This includes a vector (double-ended queue), binary heap (priority queue), binary search tree, and a red black tree.
Very Popular
Latest
import * as collections from "https://deno.land/x/collections@0.12.1/trees/bs_tree.ts";

Classes

c
BSTree
deprecated

A unbalanced binary search tree. The values are in ascending order by default, using JavaScript's built in comparison operators to sort the values.