Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BinarySearchTree {
- // tree root Node root;
- //method for adding a node
- public void addNode(int key, String name){
- Node newNode = new Node(key, name);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement