Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Distinct Subsequences
Bookmark
Input
Example 1
Example 2
Example 3
Custom
s
=
abc
,
t
=
ab
a
b
c
a
b
0
0
0
0
0
0
0
0
0
0
0
0
s
t
dp
0
1
2
0
1
2
3
algo
master
.
io
Step:
Start Distinct Subsequences
0 / 14
Input
Example 1
Example 2
Example 3
Custom
s
=
abc
,
t
=
ab
0 / 14
a
b
c
a
b
0
0
0
0
0
0
0
0
0
0
0
0
s
t
dp
0
1
2
0
1
2
3
algo
master
.
io
Step:
Start Distinct Subsequences