The main function to construct Full Binary Tree from given preorder and postorder traversals . This function mainly uses constructTreeUtil ( )
public static node constructTree ( int [ ] pre , int [ ] post , int size ) { preindex = 0 ; return constructTreeUtil ( pre , post , 0 , size - 1 , size ) ; }