March 2019
Intermediate to advanced
336 pages
9h 9m
English
The TreeNode class has KeyValue, BalanceValue, and LinkedNodes as properties. The AVL tree is created as a tree of nodes of the TreeNode type, as shown here:
// TreeNode classtype TreeNode struct { KeyValue KeyValue BalanceValue int LinkedNodes [2]*TreeNode}
Now, let's take a look at the different methods of the TreeNode class.
Read now
Unlock full access