LSI interview question

write test cases for pen. Write program for palindrome