Not passing the test cases in both the case for taking the node from left or right in case of node having two children.
please tell my mistake
my code:
Delete Nodes from BST
node *root=NULL;
this should come inside while loop
you have to intilize root=NULL in every testcase:
this is only problem
1 Like
thanks sir.i was not even to debug it
