Created
March 23, 2020 14:36
-
-
Save raunaqsingh2020/1ecfc2afa57fd8dfe21cbff3e310d654 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 class BinaryNode { | |
String character; | |
int data; | |
BinaryNode left, right; | |
BinaryNode(int d) { | |
data = d; | |
left = right = null; | |
} | |
BinaryNode(String s, int d) { | |
character = s; | |
data = d; | |
left = right = null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment