Last active
February 10, 2018 17:12
-
-
Save tarlanahad/a6124d2cf16f7f22d4427494969ab680 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void add(int Key) { | |
Node newNode = new Node(Key); | |
if (Root == null) { | |
Root = newNode; | |
CurrentSize++; | |
return; | |
} | |
addHelper(Root, newNode); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment