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 ab7561b commit a5fed85Copy full SHA for a5fed85
src/main/java/com/fishercoder/solutions/_830.java
@@ -33,9 +33,9 @@ public static class Solution1 {
33
public List<List<Integer>> largeGroupPositions(String S) {
34
List<List<Integer>> result = new ArrayList<>();
35
char[] chars = S.toCharArray();
36
- for (int i = 0; i < chars.length;) {
+ for (int i = 0; i < chars.length; ) {
37
char first = chars[i];
38
- int j = i+1;
+ int j = i + 1;
39
while (j < chars.length && first == chars[j]) {
40
j++;
41
}
0 commit comments