Binary search tree: minimum

From Algowiki
Revision as of 22:04, 19 September 2014 by Jhohmann (talk | contribs)
Jump to navigation Jump to search

TREE-MINIMUM (x)

while left[x] ≠ NULL
x = left[x]
return key[x]