March 2019
Intermediate to advanced
336 pages
9h 9m
English
In the following code, the RemoveNode method removes the element from the AVL tree by invoking the removeRNode method. The method takes treeNode, which is a double TreeNode pointer, and KeyValue as parameters:
// RemoveNode methodfunc RemoveNode(treeNode **TreeNode, key KeyValue) { *treeNode, _ = removeRNode(*treeNode, key)}
Read now
Unlock full access