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