Options
All
  • Public
  • Public/Protected
  • All
Menu

Binary Search Tree

export

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

compareFn

compareFn: CompareFunction<T>

compare function

memberof

BSTree

root

root: Nullable<BinaryTreeNode<T>> = null

root

memberof

BSTree

Methods

findMin

insert

  • insert(value: T): void

insertNode

remove

removeRoot

search

traverseBreathFirst

traverseBreathFirstNode

traverseDepthFirst

traverseDepthFirstNode

Legend

  • Class
  • Class with type parameter
  • Property
  • Method
  • Function
  • Type alias with type parameter
  • Inherited property
  • Inherited method
  • Enumeration
  • Interface

Generated using TypeDoc