Handle palindrome & decimal addition | Meta Coding Question