Skip to content

Commit b528176

Browse files
refactor 564
1 parent 5da5b60 commit b528176

File tree

1 file changed

+0
-18
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-18
lines changed

src/main/java/com/fishercoder/solutions/_564.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 564. Find the Closest Palindrome
5-
*
6-
* Given an integer n, find the closest integer (not including itself), which is a palindrome.
7-
8-
The 'closest' is defined as absolute difference minimized between two integers.
9-
10-
Example 1:
11-
12-
Input: "123"
13-
Output: "121"
14-
15-
Note:
16-
17-
The input n is a positive integer represented by string, whose length will not exceed 18.
18-
If there is a tie, return the smaller one as answer.
19-
20-
*/
213
public class _564 {
224
public static class Solution1 {
235

0 commit comments

Comments
 (0)