Go to Latest
class BinarySearchNode
import { BinarySearchNode } from "https://deno.land/std@0.152.0/collections/binary_search_node.ts";

Constructors

new
BinarySearchNode(parent: BinarySearchNode<T> | null, value: T)

Properties

left: BinarySearchNode<T> | null
right: BinarySearchNode<T> | null

Methods

directionFromParent(): Direction | null
findMaxNode(): BinarySearchNode<T>
findMinNode(): BinarySearchNode<T>
findSuccessorNode(): BinarySearchNode<T> | null