Amazon Interview Question

hashing reverse palindrome leetcode question