Operation | Description | Big O | Return Type |
---|---|---|---|
insert(value) | Adds a value to the BST | O(log n) | BinarySearchTree |
contains(value) | Checks if a value is in the BST | O(log n) | boolean |
BinarySearchTree
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||