A binary tree node
public class Node { public int data ; public Node left , right ; public Node ( int item ) { data = item ; left = right = null ; } } public class Leaf { public int leaflevel = 0 ; } class GFG { public Node root ; public Leaf mylevel = new Leaf ( ) ;