Skip to content

Commit 786564c

Browse files
refactor 412
1 parent 7bf9ce3 commit 786564c

File tree

1 file changed

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

1 file changed

+0
-30
lines changed

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

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

6-
/**
7-
* 412. Fizz Buzz
8-
*
9-
* Write a program that outputs the string representation of numbers from 1 to n.
10-
11-
But for multiples of three it should output “Fizz” instead of the number and for
12-
the multiples of five output “Buzz”. For numbers which are multiples of both three and five output “_412”.
13-
14-
Example:
15-
16-
n = 15,
17-
18-
Return:
19-
[
20-
"1",
21-
"2",
22-
"Fizz",
23-
"4",
24-
"Buzz",
25-
"Fizz",
26-
"7",
27-
"8",
28-
"Fizz",
29-
"Buzz",
30-
"11",
31-
"Fizz",
32-
"13",
33-
"14",
34-
"_412"
35-
]*/
366
public class _412 {
377

388
public static class Solution1 {

0 commit comments

Comments
 (0)