Given a string s, determine the length of the longest balanced substring.
A substring is considered balanced if every distinct character present in it appears with the exact same frequency.
Constraints:
s.length
s consists of lowercase English letters.
Given a string s, determine the length of the longest balanced substring.
A substring is considered balanced if every distinct character present in it appears with the exact same frequency.
Constraints:
s.length
s consists of lowercase English letters.