Delete nodes from bst :java course

code link : https://ide.codingblocks.com/s/90338
my sample input is passing.but test case do not.
i am not able to know my mistake.