Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++

If root == NULL 
    return NULL;
If number == root->data 
    return root->data;
If number < root->data 
    return search(root->left)
If number > root->data 
    return search(root->right)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+4 =