Sign in Join
FPDoc Onlineexperiment

TAVLTree.FindHighest function

Member of TAVLTreepublicIn unit AVL_Tree

Find the highest (rightmost) node in the tree.

Declaration

pascal
function FindHighest: TAVLTreeNode

Function result

The rightmost (highest) node in the tree.

Description

FindHighest returns the rightmost node in the tree, i.e. the node which is reached when descending from the rootnode via the Right subtrees.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.