Speechify interview question

Coding program to palindrome and string