subhashis mollick's submission of Lowest Common Ancestor | CodeChef