Tinder Interview Question

Valid palindrome