Get a Node from the Binary-Search Tree
(key T)
| 74 | |
| 75 | // Get a Node from the Binary-Search Tree |
| 76 | func (t *BinarySearch[T]) Get(key T) (Node[T], bool) { |
| 77 | return searchTreeHelper[T](t.Root, t._NIL, key) |
| 78 | } |
| 79 | |
| 80 | // Has Determines the tree has the node of Key |
| 81 | func (t *BinarySearch[T]) Has(key T) bool { |