原文:[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