Given a string s, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can find by per...
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters.
题目链接:http://codeforces.com/contest/1092/problem/A
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.