Properties
Optional bst_root
bst_root: T = undefined
Methods
operateOnAll
- operateOnAll(cb: (data: T) => void): void
remove
- remove(value: number, filter?: (data: T) => boolean): T[]
-
Parameters
-
value: number
-
Default value filter: (data: T) => boolean = (): boolean => true
-
-
Parameters
Returns boolean
Returns T[]
removeNode
- removeNode(node: T): void