Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created April 9, 2019 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/b4e0516e2d1642d4bb73ba7689715991 to your computer and use it in GitHub Desktop.
Save ssaurel/b4e0516e2d1642d4bb73ba7689715991 to your computer and use it in GitHub Desktop.
Node for the Tree Traversal Algorithms in Java on the SSaurel's Channel
public class Node<T> {
T data;
Node<T> left;
Node<T> right;
public Node(T data) {
this.data = data;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment