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

x/collections/trees/bs_tree.ts>BSTree#max

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.
Very Popular
Latest
method BSTree.prototype.max
import { BSTree } from "https://deno.land/x/collections@0.12.1/trees/bs_tree.ts";

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

Returns

T | null