...
/DIY: Number of Matching Subsequences
DIY: Number of Matching Subsequences
Solve the interview question "Number of Matching Subsequences" yourself in this lesson.
We'll cover the following...
Problem statement
Given a string, S
, and an array of words, words
, find the number of words[i]
that are a subsequence of S
. ...