Lowest common ancesstor


1 test case is failing although answer is correct for given test case.