Skip to content

Commit 801816b

Browse files
committed
Runtime: 9 ms (Top 61.84%) | Memory: 42.7 MB (Top 63.49%)
1 parent 3423008 commit 801816b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/D/Distinct Subsequences II/Distinct Subsequences II.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 9 ms (Top 61.84%) | Memory: 42.7 MB (Top 63.49%)
12
class Solution {
23
public int distinctSubseqII(String s) {
34
int mod = (int)1e9+7;
@@ -25,4 +26,4 @@ public int distinctSubseqII(String s) {
2526
//Doing -1 because we don't have to count the empty string.
2627
return dp[n]-1;
2728
}
28-
}
29+
}

0 commit comments

Comments
 (0)