Amazon interview question

hashing reverse palindrome leetcode question