Circles interview question

Valid palindrome with special characters