原文:[LeetCode] Find the Closest Palindrome 寻找最近的回文串

Given an integer n, find the closest integer not including itself , which is a palindrome. The closest is defined as absolute difference minimized between two integers. Example : Note: The inputnis a ...

2017-05-28 11:30 1 6218 推荐指数:

查看详情

[LeetCode] Longest Palindrome 最长回文

Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. ...

Wed Oct 05 18:45:00 CST 2016 2 11586
[LeetCode] Palindrome Pairs 回文

Given a list of unique words. Find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, i.e. words ...

Sun Mar 13 23:00:00 CST 2016 0 19203
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM