Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 271 Bytes

File metadata and controls

13 lines (9 loc) · 271 Bytes
int minValue(Node* root) {
   
    if(root==NULL) return -1;
    
    while(root->left!=NULL)
        root=root->left;
        
    return root->data;
}