Chef and String
CodeChefOpen on judge ↗
The chef's teacher gave him a string and want to him to find the length of the longest string (which can be formed by deleting some character of the original string) in which all letters will have even frequency. ### Input - First-line will contain $T$, the number of testcases. Then the testcases follow. - Each testcase contains of a $2$ line of input. - First-line contain the length of the strin
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start