Skip to content

Commit 926e995

Browse files
refactor 660
1 parent 0f5ae03 commit 926e995

File tree

1 file changed

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

1 file changed

+0
-15
lines changed

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

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

3-
/**
4-
* 660. Remove 9
5-
*
6-
* Start from integer 1, remove any integer that contains 9 such as 9, 19, 29...
7-
8-
So now, you will have a new integer sequence: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, ...
9-
10-
Given a positive integer n, you need to return the n-th integer after removing. Note that 1 will be the first integer.
11-
12-
Example 1:
13-
Input: 9
14-
Output: 10
15-
16-
Hint: n will not exceed 9 x 10^8.
17-
*/
183
public class _660 {
194

205
public static class Solution1 {

0 commit comments

Comments
 (0)