摘要: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This 阅读全文
posted @ 2018-05-09 06:55 轻风舞动 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 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 f 阅读全文
posted @ 2018-05-09 04:56 轻风舞动 阅读(602) 评论(0) 推荐(0) 编辑