Find palindrome-forming string pairs | Airbnb Interview Question