how to code the condition if a node is not present in tree???
how to check for this condition…
how to code of unique keys are not there we have duplicate keys as well…
how to code this condition as well??
how to code the condition if a node is not present in tree???
how to check for this condition…
how to code of unique keys are not there we have duplicate keys as well…
how to code this condition as well??
If any of the two nodes are not present, simply return NULL. And value of each node will be unique. Duplicate values will not be present.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.