Skip to content

Commit c381dbd

Browse files
committed
Improved task 3445
1 parent 0f6e56b commit c381dbd

File tree

1 file changed

+1
-5
lines changed
  • src/main/java/g3401_3500/s3445_maximum_difference_between_even_and_odd_frequency_ii

1 file changed

+1
-5
lines changed

src/main/java/g3401_3500/s3445_maximum_difference_between_even_and_odd_frequency_ii/readme.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
Hard
44

5-
You are given a string `s` and an integer `k`. Your task is to find the **maximum** difference between the frequency of **two** characters, `freq[a] - freq[b]`, in a
6-
7-
substring
8-
9-
`subs` of `s`, such that:
5+
You are given a string `s` and an integer `k`. Your task is to find the **maximum** difference between the frequency of **two** characters, `freq[a] - freq[b]`, in a **substring** `subs` of `s`, such that:
106

117
* `subs` has a size of **at least** `k`.
128
* Character `a` has an _odd frequency_ in `subs`.

0 commit comments

Comments
 (0)