Hash Table
3713. Longest Balanced Substring I
Given a string s of lowercase Latin letters. A substring is "balanced" if all its distinct characters occur the same number of times. Find the length of the longest balanced substring.
Loading…
Given a string s of lowercase Latin letters. A substring is "balanced" if all its distinct characters occur the same number of times. Find the length of the longest balanced substring.
Loading…