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
, ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy