Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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