MSCI Interview Question

Round 2: Lowest common ancestor. Check if a string is a palindrome.