//
pkg.gl
Category
github.com/duke-git/lancet/v2
datastructure
tree
package
2.3.3
Repository:
https://github.com/duke-git/lancet.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
268 SLOC
#
Functions
NewBSTree
NewBSTree create a BSTree pointer param `comparator` is used to compare values in the tree.
#
Structs
BSTree
BSTree is a binary search tree data structure in which each node has at most two children, which are referred to as the left child and the right child.