Raisa Energy interview question

I was asked “Valid Palindrome” problem on LeetCode