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

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

Returns

T | null