Softland India interview question

string palindrome program was asked