Driver code
public static void Main ( String [ ] args ) { int [ ] preOrder = { 1 , 2 , 4 , 5 , 3 , 6 , 7 } ; int [ ] preOrderMirror = { 1 , 3 , 7 , 6 , 2 , 5 , 4 } ; int size = preOrder . Length ; Node root = new Node ( ) ; conBinaryTree ( root , preOrder , preOrderMirror , size ) ; } }