Delete nodes from BST

Testcases getting failed, what’s wrong?

hello @rockstarpkm
print output for each testcase in separate line.