Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2f3dc07

Browse files
refactor 412
1 parent a9da27b commit 2f3dc07

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public List<String> fizzBuzz(int n) {
1010
List<String> result = new ArrayList();
1111
for (int i = 1; i <= n; i++) {
1212
if (i % 3 == 0 && i % 5 == 0) {
13-
result.add("_412");
13+
result.add("FizzBuzz");
1414
} else if (i % 3 == 0) {
1515
result.add("Fizz");
1616
} else if (i % 5 == 0) {

0 commit comments

Comments
 (0)