Skip to content

Commit 9b96d7b

Browse files
authored
Update Solution.kt
1 parent 2a7456e commit 9b96d7b

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g3601_3700/s3612_process_string_with_special_operations_i

1 file changed

+1
-1
lines changed

src/main/kotlin/g3601_3700/s3612_process_string_with_special_operations_i/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Solution {
1313
} else if (c == '%') {
1414
res.reverse()
1515
} else {
16-
if (!res.isEmpty()) {
16+
if (res.isNotEmpty()) {
1717
res.deleteCharAt(res.length - 1)
1818
}
1919
}

0 commit comments

Comments
 (0)