Skip to main content
Go to Latest
method BinarySearchTree.prototype.max
import { BinarySearchTree } from "https://deno.land/std@0.223.0/data_structures/binary_search_tree.ts";

Returns the maximum value in the binary search tree or null if empty.

Returns

T | null