[LeetCode] Count the Number of Good Subsequences

2539. Count the Number of Good Subsequences

A subsequence of a string is good if it is not empty and the frequency of each one of its characters is the same.

Given a string s, return the number of good subsequences of s. Since the answer may be too large, return it modulo 109 + 7.

A subsequence is a string that can be derived from another string by deleting some or no characters without changing the order of the remaining characters.

Read more
[AtCoder] D - 禁止された数字Read more
[AtCoder] C - ロミオとジュリエットRead more
[AtCoder] C - コインRead more
[AtCoder] C - タコヤ木Read more
[AtCoder] C - 辞書式順序ふたたびRead more
[Codeforces] Round #648 (Div. 2) D. Solve The MazeRead more
[Codeforces] Global Round 8 D. AND, OR and square sumRead more
[Codeforces] Round #658 (Div. 1) A2. Prefix Flip (Hard Version)Read more
[Codeforces] Round #659 (Div. 1) A. String Transformation 1Read more