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

x/collections/trees/rb_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/rb_tree.ts";

Classes

c
RBTree
deprecated

A red-black tree. The values are in ascending order by default, using JavaScript's built in comparison operators to sort the values.