I hereby claim:
- I am ethanmad on github.
- I am ethanmad (https://keybase.io/ethanmad) on keybase.
- I have a public key whose fingerprint is 924C 82CC 9285 FC65 59F9 1117 E0F5 7A43 64D0 4081
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Verifying I am +ethanmad on my passcard. https://onename.com/ethanmad |
public class MyRecursiveTreeSet { | |
//PUBLIC METHODS | |
// Returns true if this BST contains value; otherwise returns false. | |
// Calls private helper method: contains(TreeNode root, Object value) to | |
// start recursion. | |
public boolean contains(Comparable value) { | |
return contains(this.getRoot(), value); | |
} |
public class MyRecursiveTreeSet { | |
//PUBLIC METHODS | |
// Returns true if this BST contains value; otherwise returns false. | |
// Calls private helper method: contains(TreeNode root, Object value) to | |
// start recursion. | |
public boolean contains(Comparable value) { | |
return contains(this.getRoot(), value); | |
} |