Best solutions for Palindrome