Generate all subsequences of s and count matches with t.
A string of length has subsequences. Checking each against t is .
Total: . Exponential in s's length.
The trap
Generate all subsequences of s and count matches with t.
A string of length has subsequences. Checking each against t is .
Total: . Exponential in s's length.