Could you tell me why this code wont delete a node in a BST? Is there any logical error in my code?
// To delete a node from the BST public Node deleteNod