Domo interview question

Palindrome string variation DSA question