Skip to content

Commit ec59921

Browse files
refactor 556
1 parent 0207267 commit ec59921

File tree

1 file changed

+1
-14
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-14
lines changed

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

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 556. Next Greater Element III
5-
*
6-
* Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing
7-
* in the integer n and is greater in value than n. If no such positive 32-bit integer exists, you need to return -1.
8-
*
9-
* Example 1:
10-
* Input: 12
11-
* Output: 21
12-
*
13-
* Example 2:
14-
* Input: 21
15-
* Output: -1
16-
*/
3+
174
public class _556 {
185
public static class Solution1 {
196
/**

0 commit comments

Comments
 (0)