DSA Advanced Problems

Count Complete Substrings

Count substrings satisfying exact character frequencies and adjacent-character limits.