8000 fix build · vishnucoder1/Leetcode@42a6b11 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42a6b11

Browse files
fix build
1 parent ddcbf01 commit 42a6b11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ public class _1768 {
44
public static class Solution1 {
55
public String mergeAlternately(String word1, String word2) {
66
StringBuilder sb = new StringBuilder();
7-
int i = 0, j = 0;
7+
int i = 0;
8+
int j = 0;
89
for (; i < word1.length() && j < word2.length(); ) {
910
sb.append(word1.charAt(i++));
1011
sb.append(word2.charAt(j++));

0 commit comments

Comments
 (0)
0