Module

std/collections/rb_tree.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.152.0/collections/rb_tree.ts";

Classes

A red-black tree. This is a kind of self-balancing binary search tree. The values are in ascending order by default, using JavaScript's built in comparison operators to sort the values.

Functions

Compares its two arguments for ascending order using JavaScript's built in comparison operators.

Compares its two arguments for descending order using JavaScript's built in comparison operators.