int height(Node* root){
if(root==NULL)
return 0;
else
{
int h1=height(root->left)+1;
int h2=height(root->right);
return h1>h2?h1:h2;
}
}
int height(Node* root){
if(root==NULL)
return 0;
else
{
int h1=height(root->left)+1;
int h2=height(root->right);
return h1>h2?h1:h2;
}
}