Skip to content

Commit 0e53ff9

Browse files
committed
Runtime: 19 ms (Top 41.17%) | Memory: 45.4 MB (Top 53.10%)
1 parent 646e044 commit 0e53ff9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/N/Number of Substrings Containing All Three Characters/Number of Substrings Containing All Three Characters.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 19 ms (Top 41.17%) | Memory: 45.4 MB (Top 53.10%)
12

23
class Solution {
34
public int numberOfSubstrings(String s) {
@@ -42,4 +43,4 @@ private int doCount(String s, int i) {
4243
}
4344
return count;
4445
}
45-
}
46+
}

0 commit comments

Comments
 (0)