Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/collections/trees/rb_tree.ts>RBTree#remove

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.
Go to Latest
method RBTree.prototype.remove
import { RBTree } from "https://deno.land/x/collections@v0.10.1/trees/rb_tree.ts";

Removes node value from the binary search tree if found. Returns true if found and removed.

Parameters

value: T

Returns

boolean