Binary tree search

About the algorithm:

Binary tree traversal to retrieve node. Goes left or right at each node to reach its target


Categories:  Search   Efficient  
Best case: Ω(1)
Worst case: O(log n)

Try the algorithm: