Skip to content

Instantly share code, notes, and snippets.

@xnorcode
Last active September 26, 2018 11:40
Show Gist options
  • Save xnorcode/75df378c29d124b6522d52ff5cf958d9 to your computer and use it in GitHub Desktop.
Save xnorcode/75df378c29d124b6522d52ff5cf958d9 to your computer and use it in GitHub Desktop.
A Binary Tree Node Class
...
class Node{
int data;
Node left;
Node right;
public Node(int data){
this.data = data;
this.left = null;
this.right = null;
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment