some data are not deleted please check
Debug the code for this question
Check now ->
thanks a lot. just wanted to know why that buildBst function(creating balanced tree from array) doesn’t working here?
yes that’s the only change i have done in your code.
alright, but buildBst function(creating balanced tree from array) doesn’t working here why so? It is also creating BST.
this doesn’t always gurantee to build a bst. That’s why i have changed your build function.
ok thanks a lot. you can close this thread
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.