3329: Count Substrings With K-Frequency Characters II

Problem Statement