When there will be 56 instead of 25, why it will not be a binary search tree??
Doubt in Intro to trees
hi @rocky12
if you replace the 25 with the 26 then it will not be a BST because it will violets the property of BST which states that the node on left of the parent will always be smaller and the node on the right of the parent will always be greater than the parent value.
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.