Longest Palindrome Problem Leetcode