Binary tree search
Lowest common ancestor