Skip to content

Commit cc3ee31

Browse files
refactor 738
1 parent 12b2b89 commit cc3ee31

File tree

1 file changed

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

1 file changed

+0
-20
lines changed

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

-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 738. Monotone Increasing Digits
5-
*
6-
* Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits.
7-
* (Recall that an integer has monotone increasing digits if and only if each pair of adjacent digits x and y satisfy x <= y.)
8-
9-
Example 1:
10-
Input: N = 10
11-
Output: 9
12-
13-
Example 2:
14-
Input: N = 1234
15-
Output: 1234
16-
17-
Example 3:
18-
Input: N = 332
19-
Output: 299
20-
21-
Note: N is an integer in the range [0, 10^9].
22-
*/
233
public class _738 {
244
public static class Solution1 {
255
/**

0 commit comments

Comments
 (0)