Delete node from bst


whats wrong in this code

@naazsayma123 check this

@vatsal38 can you suggest correction in my code

@naazsayma123 corrected


(sent the wrong code before)

@vatsal38 now it passes only one test case and shows run error for other test cases

@naazsayma123 corrected

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.