Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method BinarySearchTree.prototype.removeNode
import { BinarySearchTree } from "https://deno.land/std@0.186.0/collections/binary_search_tree.ts";

Removes the given node, and returns the node that was physically removed from the tree.

Parameters

node: BinarySearchNode<T>

Returns

BinarySearchNode<T> | null