Terralogic interview question

question are based on palindrome ,string manipulation