BST Operations | CodeChef


I think BST delete operation can result in multiple different organizations of a BST. But test cases dont test all possible organizations. So my submission always fails.
Am I doing something wrong in code or my statement above is correct?
Kindly suggest.

plz link your code

https://www.codechef.com/viewsolution/25769128