Longest Substring Palindrome Leetcode Solution