Skip to content

Commit 0644098

Browse files
fix build
1 parent a45e6ec commit 0644098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public int numKLenSubstrNoRepeats(String S, int K) {
3131
int count = 0;
3232
Set<Character> set = new HashSet<>();
3333
for (int i = 0; i <= S.length() - K; i++) {
34-
String string = S.substring(i, i+K);
34+
String string = S.substring(i, i + K);
3535
boolean invalid = false;
3636
for (char c : string.toCharArray()) {
3737
if (!set.add(c)) {

0 commit comments

Comments
 (0)