Skip to content

Commit 5128dbc

Browse files
committed
Fixed sonar
1 parent 2965cd2 commit 5128dbc

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g3301_3400/s3305_count_of_substrings_containing_every_vowel_and_k_consonants_i

1 file changed

+1
-1
lines changed

src/main/java/g3301_3400/s3305_count_of_substrings_containing_every_vowel_and_k_consonants_i/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class Solution {
66
public int countOfSubstrings(String word, int k) {
77
char[] arr = word.toCharArray();
88
int[] map = new int[26];
9-
map['a' - 'a']++;
9+
map[0]++;
1010
map['e' - 'a']++;
1111
map['i' - 'a']++;
1212
map['o' - 'a']++;

0 commit comments

Comments
 (0)