Tinder interview question

Valid palindrome