OpenText interview question

build a palindrome from given string