Search⌘ K

Count the Number of Good Subsequences

Statement

Count and return the number of good subsequences in the given string s. You may return the modulo 109+710^9 + 7 ...