Delete node from BST in C
问题 i was trying to understand this function founded online for deleting a node from a BST. There are some things i can't understand This is the code : struct Node* Delete(struct Node *root, int data) { if (root == NULL) { return NULL; } if (data > root->data) { // data is in the left sub tree. root->left = Delete(root->left, data); } else if (data > root->data) { // data is in the right sub tree. root->right = Delete(root->right, data); } else { // case 1: no children if (root->left == NULL &&