Lowest Common Ancestor(LintCode 88):

Problem