AlgoMaster Logo

Distinct Subsequences

s=abc,t=ab
0 / 14
s = "abc"t = "ab"t (j)s (i)012ab0123abc000000000000how many ways to spell "ab" by picking chars of "abc" in order?
algomaster.io
Step:How many ways can "ab" be spelled by picking chars of "abc" in order?