Topic: Dynamic Programming Problem / Level: beginner

Problem: Determine the number of distinct subsequences of a string that match a given pattern using dynamic programming.

Run the code to see the output here...