Structure of binary tree node
class Node { public int data ; public Node left , right ; } ; class pair { public Node first ; public int second ; public pair ( Node first , int second ) { this . first = first ; this . second = second ; } }