Longest Palindrome by Concatenating Two Letter Words | Leetcode 2131