Skip to content

Commit 096a520

Browse files
committed
Improved format
1 parent 9b0ed66 commit 096a520

File tree

1 file changed

+0
-2
lines changed
  • src/main/java/g3601_3700/s3646_next_special_palindrome_number

1 file changed

+0
-2
lines changed

src/main/java/g3601_3700/s3646_next_special_palindrome_number/Solution.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ private void init(List<Long> v) {
5656
Collections.sort(half);
5757
permute(half, 0, v, mid);
5858
}
59-
6059
Collections.sort(v);
6160
Set<Long> set = new LinkedHashSet<>(v);
6261
v.clear();
@@ -77,7 +76,6 @@ private void permute(List<Character> half, int start, List<Long> v, String mid)
7776
}
7877
return;
7978
}
80-
8179
Set<Character> swapped = new HashSet<>();
8280
for (int i = start; i < half.size(); i++) {
8381
if (swapped.contains(half.get(i))) {

0 commit comments

Comments
 (0)