Binary search tree: Difference between revisions

Content deleted Content added
m directly proportional → linear
Takymu (talk | contribs)
m in while loop I placed "do" instead of "then"
Tag: Reverted
Line 71:
|
Iterative-Tree-Search(x, key)
'''while''' x ≠ NIL '''and''' key ≠ x.key '''thendo'''
'''if''' key < x.key '''then'''
x := x.left