if (node->data == prefix)
return true;
else if(node->data < prefix)
search(node->left, prefix);
else
search(node->right, prefix);
how can I change this function so it searches letter by letter?
can you post all of your code, preferably with [code ] [/code ] tags?