Problem · String

Triplets With Unique Chars

EasyZipRecruiterINTERNOA
Examples
01 · Example 1
string = "abcdaaae"
return = 3
Pls see the source image posted in the Problem Source section below for detailed explanation.. Thank you so much for your understanding!
02 · Example 2
string = "abacaba"
return = 2
Pls see the source image posted in the Problem Source section below for detailed explanation.. Thank you so much for your understanding!
Constraints
1 <= s.length <= 1000
More ZipRecruiter problems
drafts saved locally
public int tripletsWithUniqueChars(int[][] grid) {
  // write your code here
}
string"abcdaaae"
expected3
checking account