Docs » Autodocs » exec.library » AVL_FindLastNode
AVL_FindLastNode -- return the highest/biggest node (V45)
result = AVL_FindLastNode( root ) D0 A0 struct AVLNode *LIB_AVL_FindLastNode(const struct AVLNode *root)
This functions will return the pointer to the last node in the given AVL tree. Using this function, you can start to walk the tree in a "linear" fashion.
root - The pointer to the root of the AVL tree
A pointer to the highest/biggest node in the tree or NULL for an empty tree.
AVL_FindPrevNodeByAddress(), AVL_RemNodeByAddress()
|