...

/

DIY: Number of Matching Subsequences

DIY: Number of Matching Subsequences

Problem statement

Given a string, S, and a list of words, words, find the number of words[i] that are a subsequence of S.

Input

The input will be a string, S, ...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy