My code is not passing all the test cases. Please help
Deletion in BST
at line no 109
correct statement is root=deleteInBST(root,no);
not deleteInBST(root,no);
because after deletion you have to update the tree in main() also
Modified Code
My code is not passing all the test cases. Please help
at line no 109
correct statement is root=deleteInBST(root,no);
not deleteInBST(root,no);
because after deletion you have to update the tree in main() also
Modified Code