import { BinarySearchTreeNode } from "https://deno.land/x/masx200_leetcode_test@9.2.0/deps.ts";
Constructors
new
BinarySearchTreeNode(value: T)Methods
getLeft(): BinarySearchTreeNode<T> | null
getParent(): BinarySearchTreeNode<T> | null
getRight(): BinarySearchTreeNode<T> | null
hasLeft(): boolean
hasParent(): boolean
hasRight(): boolean
isLeaf(): boolean
isRoot(): boolean
setLeft(left?: BinarySearchTreeNode<T>): BinarySearchTreeNode<T>
setParent(parent?: BinarySearchTreeNode<T>): BinarySearchTreeNode<T>
setRight(right?: BinarySearchTreeNode<T>): BinarySearchTreeNode<T>
setValue(value?: T): BinarySearchTreeNode<T>