Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit64d8b2b

Browse files
authored
Update Solution.java
1 parentb2f1d39 commit64d8b2b

File tree

1 file changed

+0
-2
lines changed
  • src/main/java/g2501_2600/s2537_count_the_number_of_good_subarrays

1 file changed

+0
-2
lines changed

‎src/main/java/g2501_2600/s2537_count_the_number_of_good_subarrays/Solution.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public long countGood(int[] nums, int k) {
1010
if (nums.length <2) {
1111
return0L;
1212
}
13-
1413
Map<Integer,Integer>countMap =newHashMap<>(nums.length,0.99f);
1514
longgoodSubArrays =0L;
1615
longcurrent =0L;
@@ -47,7 +46,6 @@ public long countGood(int[] nums, int k) {
4746
}
4847
}
4948
}
50-
5149
returngoodSubArrays;
5250
}
5351
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp