Delete nodes from BST


Help me out of this.The test cases are not getting passed

@Gade_Deepthi hey check out this code,I have made few changes:

One one test case is passing with your corrected code

@Gade_Deepthi hey sorry for inconvenience ,here is corrected code,please check this:

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.