Shortest Palindrome Leetcode Problem 34