8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf9ce3 commit 786564cCopy full SHA for 786564c
src/main/java/com/fishercoder/solutions/_412.java
@@ -3,36 +3,6 @@
3
import java.util.ArrayList;
4
import java.util.List;
5
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
26
- "7",
27
- "8",
28
29
30
- "11",
31
32
- "13",
33
- "14",
34
- "_412"
35
- ]*/
36
public class _412 {
37
38
public static class Solution1 {
0 commit comments