Skip to content

Commit 8343430

Browse files
refactor 728
1 parent b51d0e2 commit 8343430

File tree

1 file changed

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

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@
33
import java.util.ArrayList;
44
import java.util.List;
55

6-
/**
7-
* 728. Self Dividing Numbers
8-
*
9-
* A self-dividing number is a number that is divisible by every digit it contains.
10-
* For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0.
11-
* Also, a self-dividing number is not allowed to contain the digit zero.
12-
* Given a lower and upper number bound, output a list of every possible self dividing number, including the bounds if possible.
13-
14-
Example 1:
15-
Input:
16-
left = 1, right = 22
17-
Output: [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 15, 22]
18-
Note:
19-
20-
The boundaries of each input argument are 1 <= left <= right <= 10000.
21-
*/
226
public class _728 {
237
public static class Solution1 {
248
public List<Integer> selfDividingNumbers(int left, int right) {

0 commit comments

Comments
 (0)