...

/

DIY: Number of Matching Subsequences

DIY: Number of Matching Subsequences

Solve the interview question "Number of Matching Subsequences" in this lesson.

Problem statement

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