- Create a new tree using this code
tree := NewTree[int]()
- Insert, Delete and Find element
tree.Insert(10)
tree.Insert(1)
tree.Delete(10)
tree.Find(1) // it returns true/false value
- Max and Min element in tree
tree.Max() // it returns maximum element in tree
tree.Min() // it returns maximum element in tree