We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3854bc2 commit 3e6d788Copy full SHA for 3e6d788
0x03-binary_trees/123-avl_remove.c
@@ -148,5 +148,5 @@ avl_t *avl_remove(avl_t *root, int value)
148
root = node;
149
node = node->parent;
150
}
151
- return (new_node);
+ return (root);
152
0 commit comments