| Modifier and Type | Method and Description |
|---|---|
static BinarySearchTree<java.lang.Integer,java.lang.String> |
BinarySearchTree.createBalancedTree() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BinarySearchTree.same(BinarySearchTree tree)
This method determines whether the parameter and the current object tree
have the same keys (ignore the values the key are mapped to).
|
boolean |
BinarySearchTree.sameShape(BinarySearchTree tree)
This method determines whether the parameter and the current object tree
have the same shape (we don't care about keys/values).
|