Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 203 Bytes

File metadata and controls

12 lines (9 loc) · 203 Bytes

Height of Binary Tree

int height(struct Node* node)
{
       
       if(node==NULL)
           return 0;
       
       return 1+ max(height(node->left),height(node->right))  ;  
}