Leetcode 3329. Count Substrings With K-Frequency Characters II | Hello Interview