Delete nodes from BST code problem

please correct my code unable to figure out stuck in this over two weeks now

@Divya_321
hello divya,
pls share ur code .

codeLink:https://ide.codingblocks.com/s/183237

@Divya_321
hello divya,
a) you missed to write these two things in bst deletion
image

b) u need to run ur code for t different test cases but u were running only for 1 case.

check ur updated code here -> https://ide.codingblocks.com/s/198789

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.