OpenText Interview Question

build a palindrome from given string