pw

Good subsequence hackerrank

Here is a link to this challenge: A subsequence is a new string that is derived.

Instructions.

oo

pg

jw

2.

Step 4: if the subsequence is not in the list then recur.

Let countSub (n) be count of subsequences of first n characters in input string.

cx