标签:efi min cee one which osi elf find tco
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 1:
Input: "123" Output: "121"
Note:
s
[LeetCode] Find the Closest Palindrome 寻找最近的回文串
标签:efi min cee one which osi elf find tco
原文地址:http://www.cnblogs.com/grandyang/p/6915355.html