Skip to content

Commit 75fb755

Browse files
committed
Fixed sonar
1 parent edfcccb commit 75fb755

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g3301_3400/s3395_subsequences_with_a_unique_middle_mode_i

1 file changed

+1
-1
lines changed

src/main/kotlin/g3301_3400/s3395_subsequences_with_a_unique_middle_mode_i/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Solution {
2020
var m = 0
2121
var index = 0
2222
for (x in nums) {
23-
var id = map.get(x)
23+
var id = map[x]
2424
if (id == null) {
2525
id = m++
2626
map.put(x, id)

0 commit comments

Comments
 (0)