Problem Brief
Triplets With Unique Chars
INTERNOA
1Example 1
Input
string = "abcdaaae"
Output
3
Explanation
Pls see the source image posted in the Problem Source section below for detailed explanation..
Thank you so much for your understanding!
2Example 2
Input
string = "abacaba"
Output
2
Explanation
Pls see the source image posted in the Problem Source section below for detailed explanation..
Thank you so much for your understanding!
Constraints
Limits and guarantees your solution can rely on.
1 <= s.length <= 1000