You are given a string s and an integer k.
A s of length k that contains k distinct characters.
Let s. The beauty of a
Return the total number of
If no such subsequence exists, return
Note:
Two subsequences are considered different if they are chosen from different sets of indices ins.
Constraints:
s.length
k s.length
s consists only of lowercase English letters.
You are given a string s and an integer k.
A s of length k that contains k distinct characters.
Let s. The beauty of a
Return the total number of
If no such subsequence exists, return
Note:
Two subsequences are considered different if they are chosen from different sets of indices ins.
Constraints:
s.length
k s.length
s consists only of lowercase English letters.