Getting Run Error

Good Morning…
Here i have implemented this delete function for BST, but i am getting run error.
Please see this my code…
First test case is passing … all other are showing run Error.


Thanks

hey @ashishnnnnn there are certain things which are wrong in your delete fucntion .
i am giving you the correct delete function for your code ,if you will go through it you will be able to find differences .


.in case you dont understand anything please ask here .
Happy Learning !!

@ashishnnnnn go through the correct delete function code if you dint understand anything please ask here .