[palindrome] Brief the solution strategy