Parallon interview question

Check is the string is paladrome