Airbnb interview question

Palindrome pairs