Binary search tree: traverse

From Algowiki
Revision as of 22:06, 19 September 2014 by Jhohmann (talk | contribs)
Jump to navigation Jump to search
INORDER-TREE-WALK(x)
if x ≠ NULL
INORDER-TREE-WALK(left[x])
print key[x]
INORDER-TREE-WALK(right[x])