UnitedLex interview question

Pallindrome