Línea de comandos Coursera
//Binary Search Tree (BST): Function to search a value
bool BST_SearchTree(int Key){
int ValueInTree = false;
TreeNode *temp;
temp = root;
while((temp != NULL) && (temp->Key != Key))
{
if(Key < temp->Key)
temp = temp->left;
else
temp = temp->right;
}
if(temp == NULL)
cout<< "NOT FOUND";
else
cout<< "FOUND";
}
Dangerous Donkey