Skip to content

Commit a697b0c

Browse files
committed
Fixed sonar
1 parent 05efcb2 commit a697b0c

File tree

1 file changed

+0
-3
lines changed
  • src/main/kotlin/g3201_3300/s3208_alternating_groups_ii

1 file changed

+0
-3
lines changed

src/main/kotlin/g3201_3300/s3208_alternating_groups_ii/Solution.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ class Solution {
2727
len = 0
2828
}
2929
if (colors[0] != colors[colors.size - 1]) {
30-
// if(len == colors.length) {
31-
// return Math.max(0, colors.length);
32-
// }
3330
len = if (len == 0) 2 else len + 1
3431
var j = 1
3532
while (j < colors.size && colors[j] != colors[j - 1]) {

0 commit comments

Comments
 (0)